Preflight fail and aircraft not ready

Hello everyone,
I’m trying to control a Cessna 172 in X-Plane 11 using QGroundControl. I’ve followed all the steps shown in YouTube tutorials and on GitHub. Everything runs as expected—except for actually flying the Cessna 172.

In the px4xplane running on WSL, there’s always a preflight failure. In QGroundControl, I frequently encounter issues related to vertical velocity, and sometimes with position or altitude, which causes the “Not Ready” message to appear in the bottom-left corner of the screen. As a result, the only flight mode I can use is Manual mode.

I’ve also attached an image to show the issue I’m encountering.

Thanks in advance for any help or suggestions!

I use:
-Xplane 11v55r2 running on win10
-Qgroundcontrol running on win10
-PX4 running on Ubuntu in wsl


The warning “Preflight Fail: ekf2 missing data” means that the EKF2 isn’t consistently getting data. And that likely explains the various messages regarding states getting “unstable”.

You will have to look into why you have drops like that. Does your computer have enough CPU/GPU to keep things running smooth? If not, that could be the reason.

I’m not familiar with X-Plane, so it could just be an inherent problem with X-Plane not giving consistent sensor data in terms of timing.

If there is no way around, you will have to adjust EKF2 parameters and raise threshold that are triggered, in order to be able to arm and use modes other than Manual.

Thanks for your help! I will check and get back to you with feedback