MyRoboPathOpen Robotics Lab
Curriculum Track · 8 Production-Grade Engineering Guides

ROS 2 & Robot Middleware

Build industrial-grade robotics software using Robot Operating System 2 (ROS 2). Learn pub/sub architecture, client/service nodes, action servers, robot modeling with URDF/Xacro, TF2 coordinate transforms, and Gazebo simulations.

All Guides in ROS 2 & Robot Middleware

8 Guides in this section
ROS 2 Humble Architecture: Nodes, Topics & DDS Explained
Guide 0116 min
Beginner

ROS 2 Humble Architecture: Nodes, Topics & DDS Explained

Master modern ROS 2 Humble/Iron architecture: Data Distribution Service (DDS), computational graph, publishers, subscribers, parameters, and Quality of Service (QoS).

Core Insight

ROS 2 eliminates the single point of failure (ROS Master) by leveraging industry-standard DDS decentralized discovery.

Step-by-Step GuideRead Guide
ROS 2 Custom Interfaces: Messages, Services & Actions
Guide 0214 min
Intermediate

ROS 2 Custom Interfaces: Messages, Services & Actions

Create custom .msg, .srv, and .action definitions in a standalone CMake package, generate C++ and Python headers, and implement preemptible Action Servers.

Core Insight

Topics = Continuous stream (unidirectional); Services = Fast request/response (synchronous blocking); Actions = Long-running tasks with feedback and preemption.

Step-by-Step GuideRead Guide
URDF & Xacro Robot Modeling: Links, Joints, Visual & Physics
Guide 0317 min
Intermediate

URDF & Xacro Robot Modeling: Links, Joints, Visual & Physics

Build modular, maintainable Unified Robot Description Format (URDF) models using Xacro macros, calculate correct 3D inertial tensors, and visualize in RViz 2.

Core Insight

Never write raw repetitive URDF—use Xacro macros to parameterize wheel diameters, mass properties, and colors.

Step-by-Step GuideRead Guide
TF2 Coordinate Transform Library: Broadcast, Buffer & Lookups
Guide 0415 min
Intermediate

TF2 Coordinate Transform Library: Broadcast, Buffer & Lookups

Master coordinate frame transformations in ROS 2: broadcast static/dynamic transforms, handle time-travel buffer lookups, and prevent TF extrapolation errors.

Core Insight

REP 105 specifies: `map` (global continuous, discrete jumps by SLAM) -> `odom` (local continuous, drifts) -> `base_link` (robot center) -> sensors.

Step-by-Step GuideRead Guide
Modern ROS 2 Python Launch Files & Composable Nodes
Guide 0513 min
Intermediate

Modern ROS 2 Python Launch Files & Composable Nodes

Orchestrate multi-node robotics systems with Python launch files, DeclareLaunchArgument, conditions, event handlers, and intra-process zero-copy composable containers.

Core Insight

ROS 2 launch files are written in pure Python, enabling dynamic argument parsing, conditionals, and environment checks.

Step-by-Step GuideRead Guide
ros2_control Framework: Hardware Interfaces & Differential Controllers
Guide 0616 min
Advanced

ros2_control Framework: Hardware Interfaces & Differential Controllers

Bridge physical hardware motors to ROS 2 using the standardized ros2_control framework, SystemInterface plugins, and diff_drive_controller.

Core Insight

ros2_control abstracts physical hardware away from high-level software, enabling seamless switching between Gazebo simulation and real robot hardware.

Step-by-Step GuideRead Guide
Gazebo Simulation (Fortress / Harmonic) with ROS 2 Bridge
Guide 0715 min
Intermediate

Gazebo Simulation (Fortress / Harmonic) with ROS 2 Bridge

Simulate mobile robots and manipulators in Gazebo: configure physics engines, add realistic IMU/LiDAR/Camera sensor plugins, and establish ros_gz_bridge.

Core Insight

New Gazebo (formerly Ignition) features modular architecture, multiple physics backends (DART, Bullet), and rendering via Ogre 2.

Step-by-Step GuideRead Guide
MoveIt 2 Trajectory Planning & Collision Avoidance for Manipulators
Guide 0818 min
Advanced

MoveIt 2 Trajectory Planning & Collision Avoidance for Manipulators

Configure MoveIt 2 for 6-DOF robotic arms: Setup Assistant, OMPL path planners (RRT-Connect), OctoMap 3D collision environments, and pick-and-place execution.

Core Insight

MoveIt 2 coordinates kinematics solvers (KDL/TRAC-IK), trajectory planners (OMPL), and collision checkers (FCL).

Step-by-Step GuideRead Guide