Installation
The ur_rtde_publisher package can be built from source.
Building from Source
Make sure ROS 2 is properly installed and sourced before proceeding.
Create a ROS 2 workspace:
export COLCON_WS=~/ros2_ws
mkdir -p $COLCON_WS/src
Clone the repository (replace
<branch>withjazzyormainfor rolling):
cd $COLCON_WS
git clone -b <branch> https://github.com/UniversalRobots/RTDE_ROS2_Publisher.git src/UR_RTDE_ROS2_Publisher
Install dependencies, build, and source the workspace:
rosdep update
rosdep install --ignore-src --from-paths src -y
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
source install/setup.bash