How intellisenselab/final-project-self-name works
This repository is a ROS 2 vision-based leader–follower robot system: a Kobuki QBot tracks an AprilTag-equipped RC car, controls its motion, and can use LiDAR localization and Nav2 to return home. The primary workflow runs from Kinect imagery through tag detection and pose estimation to PID velocity control and the Kobuki base; a safety monitor can stop, reacquire, or initiate navigation. The README documents the wider navigation and mapping capabilities, but their runtime internals are mostly unsampled, so those links are shown only where documented.
Main entry points: safety_node.py Safety Monitor · standalone_with_nav2.launch.py System Bringup · pid_node.py PID Controller · kobuki_ros Kobuki Driver
Components 18
Sensing and Perception
- Kinect Driver
ros_project_ws/src/kinect_ros2/src/kinect_ros2_component.cpp - Camera Calibration
ros_project_ws/src/kinect_ros2/cfg - AprilTag Detector
- Leader Pose Estimator
ros_project_ws/src/leader_detection/leader_detection/detection_node.py - Depth Processing
Platooning Control
- PID Controller
ros_project_ws/src/platooning_pid/platooning_pid/pid_node.py - Mock Leader
ros_project_ws/src/platooning_pid/platooning_pid/mock_leader.py
Safety and Recovery
- Safety Monitor
ros_project_ws/src/safety_monitor/safety_monitor/safety_node.py
Robot and Navigation
- Kobuki Driver
ros_project_ws/src/kobuki_ros - Kobuki Base
- LDROBOT LiDAR Driver
ros_project_ws/src/ldlidar_ros2 - AMCL Localization
- Nav2 Navigation
- Map and Robot Model
ros_project_ws/src/qbot_description - SLAM Mapping
- System Bringup
ros_project_ws/src/platooning_bringup/launch/standalone_with_nav2.launch.py - Navigation Launch
ros_project_ws/src/qbot_description/launch/navigation_launch.py
Other components
- RC Tag Leader
Connections 23
- RC Tag Leader → AprilTag Detector: carries tag
README.md - Kinect Driver → AprilTag Detector: supplies images
README.md - Camera Calibration → Kinect Driver: calibrates images
ros_project_ws/src/kinect_ros2/src/kinect_ros2_component.cpp - AprilTag Detector → Leader Pose Estimator: publishes detections
ros_project_ws/src/leader_detection/leader_detection/detection_node.py - Leader Pose Estimator → PID Controller: publishes leader pose
README.md - Leader Pose Estimator → Safety Monitor: publishes leader pose
ros_project_ws/src/safety_monitor/safety_monitor/safety_node.py - Kinect Driver → Depth Processing: publishes depth
README.md - Depth Processing → Safety Monitor: supplies depth
ros_project_ws/src/safety_monitor/safety_monitor/safety_node.py - PID Controller → Safety Monitor: receives stop signal
ros_project_ws/src/platooning_pid/platooning_pid/pid_node.py - PID Controller → Kobuki Driver: publishes velocity
README.md - Safety Monitor → Kobuki Driver: publishes stop velocity
ros_project_ws/src/safety_monitor/safety_monitor/safety_node.py - Kobuki Driver → Kobuki Base: drives motors
README.md - Mock Leader → PID Controller: supplies test pose
- LDROBOT LiDAR Driver → AMCL Localization: supplies scans
README.md - Map and Robot Model → AMCL Localization: provides map
- AMCL Localization → Nav2 Navigation: localizes navigation
README.md - Safety Monitor → Nav2 Navigation: sends home goal
ros_project_ws/src/safety_monitor/safety_monitor/safety_node.py - Nav2 Navigation → Kobuki Driver: commands return
- System Bringup → Navigation Launch: includes launch
ros_project_ws/src/platooning_bringup/launch/standalone_with_nav2.launch.py - System Bringup → Map and Robot Model: selects map
ros_project_ws/src/platooning_bringup/launch/standalone_with_nav2.launch.py - System Bringup → AMCL Localization: starts localization
ros_project_ws/src/platooning_bringup/launch/standalone_with_nav2.launch.py - System Bringup → Navigation Launch: starts navigation
ros_project_ws/src/platooning_bringup/launch/standalone_with_nav2.launch.py - SLAM Mapping → Map and Robot Model: creates saved map
README.md