Hi Hemanth,
Welcome to the PX4 community.
Your proposed architecture is a good starting point, but I would recommend building and validating it incrementally rather than integrating every component at once.
A few practical suggestions:
1. Establish a minimal PX4–ROS 2 baseline
Start with PX4 SITL and Gazebo Harmonic, then verify ROS 2 communication, vehicle state feedback, Offboard control and failsafe behaviour before introducing the perception stack.
Pay particular attention to PX4 version compatibility, the required message definitions and the ROS 2 middleware configuration.
2. Separate localization, mapping and obstacle avoidance
GLIM, nvblox and an object-detection model serve different purposes.
Before combining them, define which component provides vehicle localization, which maintains the obstacle representation and which planner generates collision-free trajectories.
Also verify coordinate frames, timestamp synchronization and sensor calibration.
3. Benchmark on the actual Jetson Orin NX
Rather than choosing YOLOv8 or RF-DETR based only on reported accuracy, compare them using your target camera resolution, expected obstacle classes and deployment runtime.
Measure end-to-end latency, GPU utilization, memory consumption and performance under simultaneous LiDAR processing.
4. Validate the complete sensing-to-action chain
For autonomous navigation, I would test more than detection accuracy.
Useful scenarios include delayed LiDAR measurements, dropped perception frames, temporary localization loss, stale obstacle maps and companion-computer communication interruptions.
For each scenario, capture the first observable failure or divergence, the planner response and PX4’s resulting behaviour.
This helps distinguish a successful simulation demonstration from a reproducible system-level validation.
One question that would help narrow the architecture:
Are you targeting indoor GPS-denied navigation, outdoor GPS-assisted flight, or both?
That decision will strongly influence the localization, mapping and planning stack.
Best regards,
Yiğitcan Öztürk
PAMILANGA LTD