-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set tool center point (TCP) cleared when external control enabled #783
Comments
Thank you for your report.
I can reproduce your issue of the resetting tcp, but cannot quite figure out why that happens. @urmahp do you know what's happening here? |
Thanks for the quick reply. Sorry for the confusion, the resetting installation was only a theory. Also on a related but separate issue, it would be very handy to see the changes to the tcp via the script interface reflected in the GUI. |
This is intended behaviour, because when you play the program the robot will read the tcp configuration from the installation file, which in your case is zero. When you set the tcp using the script command it will be active until you overwrite it with a new set_tcp command or playing a program with a different tcp configuration in the loaded installation file. |
Can you suggest an alternative way to achieve what we are after? |
An alternative aproach would be to a) Modify the installation on-line (which to my knowledge isn't possible (at least straight forward), but I might be wrong) Option b) would require adding it to the urscript here and here, adding it to the ScriptCommandInterface, adding it to the ros2_control xacro similar to this and finally wrapping it into a ROS controller similar to this repo's gpio controller (Note that this is currently a dump for multiple funcionalities that will get broken up into individual controllers, see #579 for a standalone controller). Any help on implementing this would be very much appreciated, I think this would be a great enhancement. |
Unresovled |
We are developing a mobile co-bot using a ur10e running along side a ros2 stack with moveit2. The majority of the time the arm controlled through moveit2 with the robot running the external control cap. However there are some situations when we need to send movel and set_tcp programs via the ur_script interface node.
Running with the docker simulation we are facing an issue when trying to alternate between external control with moveit2 and sending script commands the tcp is set back to zero. Steps to reproduce
We have also found that after sending any ur_script programs via the external control program goes from "running" -> "normal" and requires the ur_dashboard/play service to be called to re-enable external control. We suspect this is causing the default installation to be loaded even though the dashboard manual only indicates this should happen via the load service.
Additional information
We are sending each set_tcp and movel cmd as a defined program followed the program call.
Docker simulation showing firmware version 5.13.0
Building the ur_robot_driver from source using the humble branch.
The text was updated successfully, but these errors were encountered: