ros-industrial / universal_robot

ROS-Industrial Universal Robots support (https://wiki.ros.org/universal_robot)
1.05k stars 1.03k forks source link

How to use the cartesian trajectory controller? #641

Closed devvaibhav455 closed 1 year ago

devvaibhav455 commented 1 year ago

Hi,

I have a UR5 robot but before I test my stuff on the real robot, I want to make sure everything works fine in gazebo simulation. I want the robot’s EE to follow a 6-DOF pose continuously. I have got a 6-DOF joystick which publishes poses continuously and I want the robot's EE to follow it. I can do so easily using the franka emika cartesian impedance controller which they have already provided as an example and that makes me think that such a thing is possible.

For UR5, after searching I found out that pose_based_cartesian_traj_controller is something which I should be looking at. The answer requests us to go to beta-testing branch which then redirects to the staging branch

This beta-testing branch is deprecated. The changes from this branch now live on the [staging](https://github.com/UniversalRobots/Universal_Robots_ROS_Driver/tree/staging) branch.

I cloned the staging branch but unsure how to move forward. Could someone please provide step-by-step (if that's not possible, some guidance) instructions to do that?

System details: Ubuntu 20.04 + ROS noetic on amd64 architecture PS: I can switch to ROS melodic as well if that’s a hard-and-fast requirement.

Thanks in advance.