How knr-pw/lrt_meldog_ros works
This repository is a ROS 2 quadruped-robot workspace, with robot-description variants and Gazebo/RViz launch support, plus a Moteus motor-calibration tool. The calibration workflow accepts joint and bus IDs, runs motor control alongside a terminal interface, and writes measured positions as Xacro properties. Simulation launch files build robot descriptions and start simulator/control components. The source index confirms the calibration entry point’s module dependencies; only sampled launch files support the simulation links shown here, so unsampled subsystem internals are represented at their existing directories.
Main entry points: main.py Calibration runner · meldog_gazebo.launch.py Full Gazebo launch · meldog_leg_gazebo.launch.py Leg Gazebo launch · meldog_gazebo_sim_ros2_control.launch.py Simple sim launch
Components 16
Motor calibration
- Calibration runner
meldog_calibration/moteus_calibration/moteus_calibration/main.py - Moteus controller
meldog_calibration/moteus_calibration/moteus_calibration/moteus_controller.py - Terminal interface
meldog_calibration/moteus_calibration/moteus_calibration/terminal_interface.py - Offset generator
meldog_calibration/moteus_calibration/moteus_calibration/urdf_offset_generator.py
Robot models
- Full robot model
meldog_description/description - Leg model
meldog_leg_description/description - Simple model
meldog_simple_description/description
Simulation
- Full Gazebo launch
meldog_description/launch/meldog_gazebo.launch.py - Leg Gazebo launch
meldog_leg_description/launch/meldog_leg_gazebo.launch.py - Simple sim launch
meldog_simple_description/launch/meldog_gazebo_sim_ros2_control.launch.py
Other components
- Operator
- Pi3Hat motors
- Xacro output
- Gazebo simulator
- Robot state publisher
- ROS controllers
Connections 21
- Operator → Calibration runner: starts
- Calibration runner → Moteus controller: runs
meldog_calibration/moteus_calibration/moteus_calibration/main.py - Calibration runner → Terminal interface: runs
meldog_calibration/moteus_calibration/moteus_calibration/main.py - Calibration runner → Offset generator: creates
meldog_calibration/moteus_calibration/moteus_calibration/main.py - Calibration runner → Moteus controller: reads positions
meldog_calibration/moteus_calibration/moteus_calibration/main.py - Calibration runner → Terminal interface: updates positions
meldog_calibration/moteus_calibration/moteus_calibration/main.py - Calibration runner → Offset generator: sets positions
meldog_calibration/moteus_calibration/moteus_calibration/main.py - Moteus controller → Pi3Hat motors: commands
- Offset generator → Xacro output: writes
meldog_calibration/moteus_calibration/moteus_calibration/urdf_offset_generator.py - Full Gazebo launch → Full robot model: loads Xacro
meldog_description/launch/meldog_gazebo.launch.py - Leg Gazebo launch → Leg model: loads Xacro
meldog_leg_description/launch/meldog_leg_gazebo.launch.py - Simple sim launch → Simple model: loads Xacro
meldog_simple_description/launch/meldog_gazebo_sim_ros2_control.launch.py - Full Gazebo launch → Gazebo simulator: starts
meldog_description/launch/meldog_gazebo.launch.py - Leg Gazebo launch → Gazebo simulator: starts
meldog_leg_description/launch/meldog_leg_gazebo.launch.py - Simple sim launch → Gazebo simulator: starts
meldog_simple_description/launch/meldog_gazebo_sim_ros2_control.launch.py - Full Gazebo launch → Robot state publisher: starts
meldog_description/launch/meldog_gazebo.launch.py - Leg Gazebo launch → Robot state publisher: starts
meldog_leg_description/launch/meldog_leg_gazebo.launch.py - Simple sim launch → Robot state publisher: starts
meldog_simple_description/launch/meldog_gazebo_sim_ros2_control.launch.py - Full Gazebo launch → ROS controllers: loads
meldog_description/launch/meldog_gazebo.launch.py - Leg Gazebo launch → ROS controllers: loads
meldog_leg_description/launch/meldog_leg_gazebo.launch.py - Simple sim launch → ROS controllers: loads
meldog_simple_description/launch/meldog_gazebo_sim_ros2_control.launch.py