How xeedjr/ros_gazebo_workshop works
This is a ROS 2 mobile-robot application with simulation and hardware paths. Its principal workflow launches the robot stack, acquires sensor data, builds and processes maps, then uses detected map features to issue navigation goals. The repository also includes camera and IMU acquisition, Gazebo plugins, and a serial ros2_control hardware interface. The launch file excerpt shows selected node startup and IMU remappings; sampled node code supports the map-processing and navigation flow. Other subsystem wiring is not assumed where source was not shown.
Main entry points: diff_drive.launch.py Stack Launch · my_package/my_node.py Goal Navigator · bno080_node.py BNO080 Driver · map_process/my_node.py Map Processing
Components 21
Robot Bringup
- Stack Launch
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Robot Description
data/project_ws/src/ros_gz_example_description/models/diff_drive_urdf/model.urdf.xacro - Gazebo World
data/project_ws/src/ros_gz_example_gazebo/worlds/diff_drive.sdf - Gazebo Systems
data/project_ws/src/ros_gz_example_gazebo/src/FullSystem.cc - ROS-Gazebo Bridge
Sensors and Media
- BNO080 Driver
data/project_ws/src/bno080/bno080/bno080_node.py - IMU Calibration
data/project_ws/src/bno080/bno080/calibration_node.py - IMU Filter
- Image Capture
data/project_ws/src/capture/capture/image_capture.py - Image Compression
data/project_ws/src/camera_process2/camera_process2/compress_node.py - Camera UDP
data/project_ws/src/camera_udp_publisher/camera_udp_publisher/my_node.py
Mapping and Navigation
- Map Processing
data/project_ws/src/map_process/map_process/my_node.py - SLAM Mapper
- Goal Navigator
data/project_ws/src/my_package/my_package/my_node.py - Nav2 Stack
- Robot Localization
Robot Runtime
- Controller Manager
- Hardware Interface API
data/project_ws/src/hardware_link2/include/hardware_link2/hardware_link2.hpp - Serial Hardware Driver
data/project_ws/src/hardware_link2/src/hardware_link2.cpp - Robot State Publisher
Other components
- Operator
Connections 18
- Operator → Stack Launch: starts stack
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Stack Launch → Gazebo World: starts simulation
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Stack Launch → ROS-Gazebo Bridge: starts bridge
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Stack Launch → BNO080 Driver: starts driver
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Stack Launch → Image Compression: starts node
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Stack Launch → Camera UDP: starts node
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Stack Launch → Map Processing: starts node
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Stack Launch → Goal Navigator: starts node
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Stack Launch → IMU Filter: starts filter
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Stack Launch → Robot Localization: starts localization
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Stack Launch → Controller Manager: starts manager
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Stack Launch → Robot State Publisher: starts publisher
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Stack Launch → Robot Description: loads description
data/project_ws/src/ros_gz_example_bringup/launch/diff_drive.launch.py - Stack Launch → Gazebo Systems: loads plugins
- BNO080 Driver → IMU Filter: publishes IMU data
- Map Processing → Goal Navigator: publishes sorted markers
data/project_ws/src/map_process/map_process/my_node.py - Goal Navigator → Nav2 Stack: sends pose goals
data/project_ws/src/my_package/my_package/my_node.py - Serial Hardware Driver → Hardware Interface API: implements interface
data/project_ws/src/hardware_link2/src/hardware_link2.cpp