MAVRIK is a versatile 6 DoF flight simulator capable of handling a wide range of aircraft designs. The software has the following features:
Accepts arbitrary aerodynamic models with arbitrary types of controls
Vehicles can change properties (weight, inertia, geometry) during flight
Emulates on-board sensors including IMU, Pitot Propbe, GPS, and aerodynamic angle sensors with error
Control and other I/O through UDP
Atmospheric turbulence and gradients
Real-time or faster
Fortran implementation
Extensive documentation available
We have developed in-house 6 DoF flight simulation software that is very versatile for simulating a wide range of aircraft designs. The software has the following properties:
Accepts arbitrary aerodynamic models with arbitrary types of controls
Emulates on-board sensors including IMU, Pitot Propbe, GPS, and aerodynamic angle sensors with error
Control and other I/O through UDP
Atmospheric gradients and turbulence
Real-time or faster
C++ implementation
Extensive documentation available
Real-Time Lifting-Line Aerodynamic Modeling
Stall Effects
Arbitrary Control Effectors
Customizable Graphics
Parallelized for Speed
Install Ubuntu 24.04
wsl --install -d Ubuntu-24.04
Clone PX4 from GitHub
git clone https://github.com/PX4/PX4-Autopilot.git --recursive
cd PX4-Autopilot
Install dependencies
bash ./Tools/setup/ubuntu.sh
Fix apt lock issue should this error happen: Could not get lock /var/lib/dpkg/lock-frontend
sudo kill <pid>
sudo dpkg --configure -a
Re-run PX4 setup script
Verify PX4 compiled and build and start PX4 SITL
make px4_sitl
make px4_sitl gz_x500
Reset MAVLink to ensure proper connection to QGroundControl
mavlink stop-all
mavlink start -x -u 14550 -o 14550 -t 127.0.0.1
In QGroundControl, ensure settings match PX4 (QGC > Application Settings > Comm Links)
Type: UDP
Port: 14550
Auto-connect: ON
Restart QGC
You should now have:
PX4 running in WSL
MAVLink bound to UDP 14550
QGroundControl receiving telemetry
Vehicle auto-connects successfully