Skip to content

jhu-bigss/Universal_Robots_CB2_ROS2_Driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Universal_Robots_CB2_ROS2_Driver

You can use this driver with the official Universal_Robots_ROS2_Description, which you can install with the following command:

sudo apt-get install ros-<distro>-ur-description

However, you need to modify the URDF files within the package:

colcon_cd ur_description

# go to the directory
urdf
├── ur_macro.xacro
├── ur.ros2_control.xacro
└── ur.urdf.xacro

Modify ur.ros2_control.xacro

Change the plugin name from ur_robot_driver to ur_robot_driver_cb2 as the following line:

<plugin>ur_robot_driver_cb2/URPositionHardwareInterface</plugin>

launch file

Now you can launch the driver using the provided launch file.

Cartesian Motion Control

Clone the cartesian_controllers (ros2) package into your src folder and build it in release mode for faster performance. (you may skip the simulation and tests)

colcon build --packages-skip cartesian_controller_simulation cartesian_controller_tests --cmake-args -DCMAKE_BUILD_TYPE=Release

About

Universal Robots ROS2 Driver for CB2 Controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published