TechmanRobotInc / tmr_ros2

TM Robots supporting ROS2 drivers and some extended external applications. (experimental) (not support the new TM S-Series)
Other
37 stars 21 forks source link

set_positions service: service not available if the server is executed before the client #16

Closed cosmac closed 2 years ago

cosmac commented 2 years ago

Hey guys,

I recently installed the tmr_ros2 drivers and experimented with the available demos. All good so far, except that the "set_position" demo does not behave as I would expect. Here is the summary:

Note: I'm running ROS2 Foxy with the latest tmr_ros2 drivers (at this time)

Thanks!

jean-fernandez-imt commented 2 years ago

Hello Mr. Claudiu,

This is a very helpful post! I am also running into the very same issue. I am going to try following your successful scenario procedure first thing on Monday.

I also wanted to add that this problem does not seem to appear on the tmr_driver, since I had no issues when running the tmr_moveit_cpp_demo, that uses that driver. Without launching any driver previously. I just ran the following code:

ros2 launch tmr_moveit_cpp_demo run_moveit_cpp.launch.py robot_ip:=<robot_ip_address> 

This will also take care of launching the tmr_driver, that seems to have extra functionalities compared to tm_driver. (#6)

Have a good day!

TechmanRobotIncOwner commented 2 years ago

This issue is default DDS of new version Foxy is a little bit different from previous version. So we recommend user other DDS, before we fixed this new issue.

Please refer to this below, use cyclone DDS.

export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp

If you have further question please let me know.