AirSim SITL with QgroundControl and px4

#1

Hello everyone,
My goal is to run Qground control with PX4 as SITL with Unreal Landscape Mountain as a simulation environment. This part is not detailed in the documentation. I would appreciate any help on this. Thanks

  • Has anybody been able to setup and get it to work?
    I am running this on a Windows 10 machine with a linux terminal. When I follow the instructions on this link https://airsim-fork.readthedocs.io/en/latest/px4_sitl.html I get this line at the end
    INFO [simulator] Waiting for initial data on UDP port 14560. Please start the flight simulator to proceed…
  • When I start the simulation on the Unreal editor, I don’t see anything happening on the px4 console?
  • It seems PX4 is not connected to Unreal editor simulation.
  • I am using v1.8.2 of PX4
  • You can find below the json file for AirSim settings

sudo ./build/posix_sitl_default/px4 ./posix-configs/SITL/init/ekf2/iris
commands file: ./posix-configs/SITL/init/ekf2/iris


| ___ \ \ \ / / / |
| |/ / \ V / / /| |
| __/ / \ / /
| |
| | / /^\ \ ___ |
_| / / |_/

px4 starting.

INFO [dataman] Unknown restart, data manager file ‘rootfs/fs/microsd/dataman’ size is 11405132 bytes
INFO [simulator] Waiting for initial data on UDP port 14560. Please start the flight simulator to proceed…

json settings file for unreal project
{
“SeeDocsAt”: “https://github.com/Microsoft/AirSim/blob/master/docs/settings.md”,
“SettingsVersion”: 1.2,
“SimMode”: “Multirotor”,
“vehicles”: {
“PX4”: {
“VehicleType”: “PX4Multirotor”,
“SitlIp”: “”,
“UdpIp”: “127.0.0.1”,
“UdpPort”: 14560,
“UseSerial”: false
}
}
}