Real-time RoboMaster Auto-Aiming System based on NVIDIA Jetson Orin Nano, YOLOv8, Kalman Filtering, and Ballistic Compensation.
AutoAim 2026 is an autonomous targeting system developed for RoboMaster robots.
The system runs on NVIDIA Jetson Orin Nano and uses Daheng Galaxy industrial cameras for image acquisition. YOLOv8 is employed for armor detection, followed by PnP-based pose estimation, Kalman Filter motion prediction, and ballistic compensation to generate accurate Yaw and Pitch commands.
A lightweight web monitoring interface is also provided for real-time visualization and debugging.
- Real-time armor detection using YOLOv8
- TensorRT acceleration support
- PnP-based 3D pose estimation
- Kalman Filter target tracking
- Ballistic compensation
- Daheng Galaxy camera support
- Web-based monitoring dashboard
- Modular architecture
- NVIDIA Jetson deployment
Daheng Camera
│
▼
YOLOv8 Detection
│
▼
Armor Matching
│
▼
PnP Solver
│
▼
Kalman Tracker
│
▼
Ballistic Solver
│
▼
Yaw / Pitch Output
│
▼
Robot Controller
RV_Autoaim_2026/
│
├── weight/
│ ├── best.pt
│ ├── best.onnx
│ ├── best_256n.engine
│ ├── best_256s.engine
│ └── best_320s.engine
│
├── autoaim.py
├── detector.py
├── camera.py
├── pnp_solver.py
├── kalman_tracker.py
├── ballistic_solver.py
├── publisher.py
├── monitor.py
├── logger.py
├── start.py
│
├── setup.py
└── README.md
YOLOv8-based armor detection.
Supports:
- PyTorch (.pt)
- ONNX (.onnx)
- TensorRT (.engine)
Computes the 3D pose of detected armor plates using Perspective-n-Point (PnP).
Outputs:
- Target position
- Distance
- Rotation angles
Target state estimation and prediction.
Provides:
- Position smoothing
- Velocity estimation
- Motion prediction
Projectile trajectory compensation.
Considers:
- Bullet speed
- Gravity
- Flight time
- Camera-to-barrel offset
Outputs compensated Yaw and Pitch angles.
Web-based monitoring interface.
Displays:
- Detection results
- Bounding boxes
- Tracking information
- Runtime statistics
Accessible from:
localhost
LAN devices
Install:
- Galaxy Gige-U3 SDK
- Galaxy Python SDK
The Gige-U3 SDK must be installed before the Python SDK.
python3 -m pip install -e .Start the system:
autoaim_startOptional parameters can be used to configure:
- Robot type
- Team color
- Camera parameters
- Detection model
- Web monitor
The project supports multiple deployment formats.
| Format | Description |
|---|---|
| PT | PyTorch |
| ONNX | Cross-platform deployment |
| TensorRT Engine | High-performance Jetson inference |
- NVIDIA Jetson Orin Nano
- Daheng Galaxy Industrial Camera
- STM32-based RoboMaster Controller
- Stereo Vision Support
- Radar-Camera Fusion
- Multi-Target Prediction
- ROS2 Integration
- End-to-End Perception Pipeline
Jingqi Mei
Robotics • Computer Vision • Machine Learning
GitHub: https://github.com/AMwhisper