ROS2 Workspace Setup
This guide explains how to prepare a ROS2 workspace for Dexterous Robotics drivers.
Requirements
- Ubuntu 22.04 or 24.04
- ROS2 Humble or Jazzy
- Serial port access permissions
Serial Permission
bash
sudo usermod -a -G dialout $USERLog out and log in again after running the command.
Create Workspace
bash
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/srcInstall Common Dependencies
bash
sudo apt update
sudo apt install python3-colcon-common-extensions python3-rosdep
sudo apt install ros-$ROS_DISTRO-serial-driverBuild
bash
cd ~/ros2_ws
colcon build --symlink-install