[HGR] simulated
PX4 vision tracking
A ROS 2 vision system tested in simulation tracks a moving target and sends flight commands to PX4.
Project footage
Watch on YouTube ↗- autopilot
- PX4 SITL
- vision
- YOLO + Depth
- control
- ROS 2 Offboard
- stage
- Simulation
External verification & logs
Architecture
Turning an image detection into a flight command
A bounding box locates a target in the camera image, but the aircraft also needs a sense of distance. The project paired color detections with depth data and used a ROS 2 controller to send tracking commands to PX4. The camera feed was also visible in QGroundControl.
Bill of materials
Hardware & subsystem stack
- ▸PX4 Autopilot (SITL) on a Quadcopter Model
- ▸Depth Camera (OAK-D Model in Gazebo)
- ▸YOLO Target Detector (ROS 2 Node)
- ▸Offboard Follow Controller (ROS 2 Node)
- ▸Video Stream to QGroundControl
Validation
What the simulation exercised
The recorded Gazebo run brings perception, offboard control and the ground display into the same test. The detection view lets a reviewer see what the controller was following. Camera latency and tracking accuracy on a physical aircraft remain open questions.

[RFQ] Engineering inquiries
Commission a similar study or build
Working on a custom airframe, payload integration, or autonomous PX4/ROS 2 workflow? Send your operating constraints and timeline for a scoped design review or engineering quote.
Discuss an engineering projectBack to full hangar