SIH: A Flight Simulator That Lives Inside the Autopilot
summary
A single PX4 module integrates full rigid‑body equations of motion next to the flight stack and publishes synthetic IMU, barometer, GNSS and airspeed at the driver level so EKF2 and controllers see data indistinguishable from hardware. SIH runs as SITL on laptop or directly on flight controller, uses lockstep deterministic timing on the laptop and hardware timers on board, and shows ~3× faster startup, ~3× lower CPU, and top speed factor 21 vs 15 for Gazebo; CI runs ~50 test flights per PR at 10× real time. Actuator outputs → forces → Newton‑Euler → noisy sensor samples; missing models include electrical power and vibration.
AI-written summary · about
chapters (15)
- 0:00Introduction and context
- 1:05What is SIH
- 2:10SIH vs Gazebo and HIL
- 3:12How SIH integrates with PX4
- 4:40Running SIH on laptop vs hardware
- 7:34When to use SIH
- 7:56SIH physics and sensor models
- 10:22SIH simulation details
- 11:48Adding new sensors to SIH
- 14:16Recipe for new sensors
- 15:20Vehicles and demo
- 16:01How to run SIH
- 17:02SIH vs Gazebo performance
- 18:06SIH in CI
- 18:48Key takeaways
