-
Notifications
You must be signed in to change notification settings - Fork 304
Description
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
- Publish set_scp(p[0, 0, 0.2, 0, 0, 0])
- Publish textmsg("TCP = , get_tcp_offset()) - Confirms tcp has been set
- Publish movel(...) - Movel respects tcp settings
- Play external control program
- Publish textmsg("TCP = , get_tcp_offset) - TCP set back to zero
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.