Universal_Robots_ROS2_Driver icon indicating copy to clipboard operation
Universal_Robots_ROS2_Driver copied to clipboard

Project -> subscribe and publish to robot

Open student-0103 opened this issue 1 year ago • 1 comments

Feature summary

Hii :)

I'm doing a project with the UR5e and want to make a program which uses data received from the robot like actual velocities, force etc. With this package I'm able to move the UR5e to a wanted position by using MoveIt2. But when I'm right it's not possible to use/get live data from the robot. I probably have to use ur_rtde for this? (https://sdurobotics.gitlab.io/ur_rtde/installation/installation.html)

I'm using: Robot:

  • Universal Robots UR5e

Laptop with:

  • Linux 22.04
  • ROS2 Humble

Is the ur_rtde also working in this environment, and can I use this for my project? Or is it possible to achieve my project goal (build a program which subscribes and publish to the UR5e --> communication between both) on another way? Anyone with same kind of project?

https://sdurobotics.gitlab.io/ur_rtde/installation/installation.html https://www.universal-robots.com/articles/ur/interface-communication/real-time-data-exchange-rtde-guide/

student-0103 avatar Jan 03 '24 15:01 student-0103

Hey, i'm sorry for not answering earlier. If this is still an open question to you: You are absolutely able to read out the live status data from the robot through this driver (it also uses the rtde interface after all). For joint data (position, velocity and motor current) you can take a look at the /joint_states topic, and the force + torque from the integrated sensor can be read from the force_torque_sensor_broadcaster/wrench topic. Using this directly should be easier than using the ROS driver and ur_rtde at the same time, as there are some issues with both programs claiming the same ressources on the robot otherwise. Please let us know if this works for you or if you have further questions.

RobertWilbrandt avatar Feb 14 '24 15:02 RobertWilbrandt

This seems to be answered, hence closing this.

fmauch avatar Jul 15 '24 20:07 fmauch