Open source · Hardware
Rotate MD-11 CDU driver for WinWing hardware
The Rotate MD-11 has a real, physical CDU you can own. I built a Python driver that reads live flight data from the X-Plane 12 API (position, route, performance, fuel), parses it, and draws it on a WinWing CDU so pilots can fly the aircraft with real hardware instead of a mouse.
MobiFlight had no script for the Rotate MD-11 CDU. The stock approach was hard-coded for each aircraft, so I wrote a dynamic implementation that works with every route loaded into the aircraft.
What was hard: the data parsing. X-Plane returns different answer formats depending on aircraft state, and the CDU layout expects data in strict positions. My first attempts worked for my own flight but broke for other pilots. It took several review rounds with the MobiFlight maintainers to make the script dynamic, with variable page definitions, runtime field mapping, and no hard-coded waypoints.
What worked: treating the data layer and the display layer as separate concerns, then letting the community drive the edge cases during review. The script is now part of the MobiFlight repository and works for other MD-11 pilots.