Implemented ROS topic to enable the freedrive mode.#546
Conversation
|
Thanks for the feature draft! What's the motivation for topic activation - over e.g. service/action? |
|
I've added a code block below for enter_freedrive_node service that we use. It is defined after set_payload_srv in hardware_interface.cpp. Our client code calls /ur_hardware_interface/dashboard/stop before calling this enter freedrive service (with delay of 0.5s in between) to enter freedrive mode from remote control, and go back to remote control by calling /ur_hardware_interface/dashboard/stop -> sleep 0.5s -> /ur_hardware_interface/dashboard/play. |
|
Finally, I was able to test this feature on our HW and it worked out of the box 👍 |
|
Before merging, I think at least some basic documentation should be added. |
|
This PR hasn't made any progress for quite some time and will be closed soon. Please comment if it is still relevant. |
|
@ github-actions |
|
This is currently being worked on in UniversalRobots/Universal_Robots_Client_Library#138 and is not forgotten ;-) |
|
This PR hasn't made any progress for quite some time and will be closed soon. Please comment if it is still relevant. |
|
this github-actions is really annoying! |
|
This PR hasn't made any progress for quite some time and will be closed soon. Please comment if it is still relevant. |
|
The feature would be great; I'm only voting for an action interface, which makes more sense to me. |
|
we recently proposed #718 |
Implements a basic way to enable freedrive_mode via a ROS topic.
To test: send a message to the "enable_freedrive_mode" topic with a float value specifying seconds to be in freedrive mode.
Using "0.0" will enter freedrive_mode until the robot stops being moved continously (and at least 3 seconds to allow for start of the movement).
As a script is sent to the robot directly, the External Control program will be stopped and thus has to be restarted before regular ROS control can resume.
This is not a final implementation of this feature.