Perception
Layer Role¶
The perception layer turns raw sensor data into structured observations that upper layers can consume directly.
In the current repository, it mainly covers:
- object detection
- QR and barcode recognition
- target tracking
- auto-aim visual front-end logic
- general YOLO-style 2D detections
Current Directory Mapping¶
driver/ros2_hik_cameraperception/rm_auto_aimperception/yolo_detector, includingyolo_interfacesperception/zbar_ros, includingzbar_interfaces
Current Modules¶
Interface Guidance¶
New perception modules should preferably follow these rules:
- reuse standard image-facing inputs such as
/image_rawand/camera_info - keep detection, tracking, and control outputs separated
- do not mix control semantics into pure detector messages
- generic detectors should stay decoupled from competition-specific task logic
Module Relationships¶
ros2_hik_cameraprovides image and camera-info inputsyolo_detectorprovides general 2D detectionszbar_rosprovides general QR and barcode recognition resultsarmor_detectorprovides armor-specific detection and 3D solvingarmor_trackermanages tracked target stateauto_aim_solverturns tracked state into control outputs