ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

cannot find follow_joint_trajectory topic in ur_robot_driver package

asked 2020-06-15 03:18:02 -0500

Solrac3589 gravatar image

updated 2020-06-15 03:25:15 -0500

Hello everyone.

I have been stuck on that a few days, that's why, maybe even being a simple question, I decided to ask.

right now i have been running a UR10 with a personal project using the already deprecated ur_modern_driver package.

I found that, even being a great package, after calling a follow_joint_trajectory order ( in ur_ros_wrapper.cpp) there was no post-checks and automatically a setSucceeded call was sended(https://github.com/ros-industr... ). Due to the needs of my project, i wanted to solve that, but I decided to directly switch to the new and official ros driver for UR (ur_robot_driver) I tough it was a good idea also thinking in a future buy of a e-series robot.

The problem is that i would like to check how actually works the follow_joint_trajectory implementation but I am unable to find it. I am starting to think that, even the packagle clearly says it's compatible, the implementation is inside a dependency of the system. If i do not find it, I am gonna work on checking using rostopic info command, but the robot have been (and will be, for a while) busy with production.

Thanks for any clue on that!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-06-15 03:28:14 -0500

gvdhoorn gravatar image

The problem is that i would like to check how actually works the follow_joint_trajectory implementation but I am unable to find it. I am starting to think that, even the packagle clearly says it's compatible, the implementation is inside a dependency of the system.

ur_robot_driver is a ros_control compatible hardware_interface.

This means the driver itself only implements the functionality needed to convert "ROS commands" to whatever the underlying hardware understands (in this case: the CB3 or e-Series controller).

With that in place, we can now use any of the available ros_control controllers, provided by ros_controllers, including the joint_trajectory_controller.

None of that code is included in ur_robot_driver, simply because it's not needed (and would be unwise to duplicate).

If you're interested to learn how the JointTrajectoryController works, you would have to take a look at the files in ros-controls/ros_controllers/joint_trajectory_controller.

edit flag offensive delete link more

Comments

Thank you very much @gvdhoorn! Your upvote, sir!

Solrac3589 gravatar image Solrac3589  ( 2020-06-15 05:21:50 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-06-15 03:18:02 -0500

Seen: 93 times

Last updated: Jun 15 '20