How roganjo/autonomous_bot works
Autonomous Bot is a ROS 2 two-wheel robot project: users can drive it in simulation or on hardware, use lidar to build a map, then send a goal for autonomous navigation. The graph preserves the documented simulation, teleoperation, mapping, localization, and navigation branches, plus the hardware and lidar interfaces. Source excerpts show the hardware serial interface and the lidar driver’s SDK dependency; several higher-level ROS relationships are documented only at README level, so their links cite the README.
Main entry points: ydlidar_ros2_driver_node.cpp ROS Lidar Node · navigation_launch.py Navigation · diffbot_hardware.cpp Drive Interface · serial_port.cpp Serial Port
Components 17
Robot Bringup
- Robot Bringup
articubot_one/launch/launch_robot.launch.py - Simulation Launch
articubot_one/launch/launch_sim.launch.py - Joystick Launch
articubot_one/launch/joystick.launch.py - Keyboard Driving
articubot_one/launch/launch_robot.launch.py
Drive Hardware
- Drive Interface
diffbot_hardware/src/diffbot_hardware.cpp - Serial Port
diffbot_hardware/src/serial_port.cpp - ESP32 Drive Base
Lidar Stack
- Lidar Launch
ydlidar_ros2_driver/launch/ydlidar_launch.py - ROS Lidar Node
ydlidar_ros2_driver/src/ydlidar_ros2_driver_node.cpp - Lidar SDK API
YDLidar-SDK/src/CYdLidar.cpp - YDLIDAR Scanner
Mapping and Navigation
- Online Mapping
articubot_one/launch/online_async_launch.py - Localization
articubot_one/launch/localization_launch.py - Navigation
articubot_one/launch/navigation_launch.py - Saved Map
Other components
- Operator
- Map Goal
Connections 15
- Operator → Simulation Launch: starts simulation
README.md - Operator → Robot Bringup: starts robot
README.md - Operator → Joystick Launch: drives by joystick
README.md - Operator → Keyboard Driving: drives by keyboard
README.md - Drive Interface → Serial Port: uses serial
diffbot_hardware/src/diffbot_hardware.cpp - Serial Port → ESP32 Drive Base: exchanges commands
README.md - Lidar Launch → ROS Lidar Node: launches
README.md - ROS Lidar Node → Lidar SDK API: uses SDK
ydlidar_ros2_driver/src/ydlidar_ros2_driver_node.cpp - Lidar SDK API → YDLIDAR Scanner: communicates with
- ROS Lidar Node → Online Mapping: provides scans
README.md - Online Mapping → Saved Map: saves map
README.md - Saved Map → Localization: localizes against
README.md - Map Goal → Navigation: sets destination
README.md - Localization → Navigation: supports navigation
- Navigation → Drive Interface: drives robot