PX4 HITL Testing w/ AirSim

Notes on using Pixhawk and PX4 firmware for hardware-in-the-loop testing with AirSIM

There are few important key steps that need to be done to ensure success:

  • Bind your RX/TX (In my case this is Taranis QX7 and FrSky RX4R)

  • Calibrate your radio in QGroundControl (this tutorial was tested with Taranis QX7)

  • Setup flight modes in QGC. These are ones that I used for testing purposes and setup on Channel 5:

    • Stabilize

    • Altitude

    • Land

    • RTL

  • Download one of the AirSim builds and open it then close it. This will create a settings.jsonarrow-up-right file in your user documents directory. You'll then need to modify it with the following params:

  • Make sure AirSim is still closed and power up your TX

  • Connect Pixhawk via USB to your computer

  • Launch AirSim and voila!

Last updated