Skip to content

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 $USER

Log out and log in again after running the command.

Create Workspace

bash
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src

Install Common Dependencies

bash
sudo apt update
sudo apt install python3-colcon-common-extensions python3-rosdep
sudo apt install ros-$ROS_DISTRO-serial-driver

Build

bash
cd ~/ros2_ws
colcon build --symlink-install