A plugin that connects PX4 SITL to X-Plane 11/12 for fixed-wing, multirotor, and VTOL flight simulation testing.
px4xplane-linux-v4.2.1.zip
v4.2.1
Unpacked size 1 MB
PX4-XPlane is a plugin that connects the PX4 autopilot software to X-Plane, so that drones and other aircraft controlled by PX4 can be tested in X-Plane's flight model. It is aimed at people developing or testing autopilots, not at ordinary flying. PX4 runs in its software in the loop mode, and the plugin carries data between it and the simulator.
PX4 sends its actuator commands to writable X-Plane datarefs, and the plugin sends back simulated sensor data: inertial measurements, GPS, barometer, magnetometer, airspeed and ground truth. The current package has builds for Windows, Linux and macOS, and includes tested examples for the Cessna 172, the TB2, the Ehang 184, the Alia 250 and a quad tailsitter.
You need X-Plane 11 or 12 and a PX4 SITL environment set up by following the official PX4 development guide. Close X-Plane, copy the complete px4xplane folder from the download into X-Plane's Resources/plugins folder, and add any aircraft you want to try. In X-Plane, choose your airframe from the plugin menu and select Connect to SITL, then start PX4 with the matching target.
PX4 connects to the plugin over TCP port 4560. On the same computer the default settings normally work. If PX4 runs in WSL2, Docker or on another machine, set the PX4 simulator host name to the address of the computer running X-Plane before starting PX4. If you are upgrading, remove the old plugin folder rather than merging old and new files, and back up any custom settings first.
No ratings yet.
Be the first to rate this.
Yes. PX4-XPlane can be downloaded free from Hangar Addons. It is released as MIT.
PX4-XPlane is an addon in the Utilities category for X-Plane 12.
The quickest way is the Hangar Addons Manager: select Add to Addon Manager on this page and it downloads and installs PX4-XPlane in the right folder. You can also download the file (521 KB), unpack it and copy it into your X-Plane 12 addons folder. The installation guides on Hangar Addons show where that is.
PX4-XPlane was made by alireza787b and shared on Hangar Addons by Hangar Addons.
The latest version is v4.2.1, last updated on October 7, 2026.
No community test results yet.
52 addons, average rating 4.9, member since 2026