C.W. MissionControl - Ground Station Software for STARLIGHT
Overview
MissionControl is the desktop app that shipped with every STARLIGHT and STARLIGHT MINI. It's written in Java 17 so it runs on Windows, Mac and Linux, the board side is MicroPython, and all of it is open source. You plug a board in, pick what each pyro channel and GPIO pin does, set triggers on altitude, velocity or flight events, and it writes the flight profile to the board as JSON you can also edit by hand. It handles dual deployment with a configurable main chute height, staging on motor burnout, and a TVC mount through built-in PID and servo timing. After a flight, the debrief screen shows the log and exports it as JSON. The first beta went out on December 21, 2023 marked do not fly; 0.0.3 was flight-ready six days later; 0.0.32 added STARLIGHT MINI in April 2024; and 0.0.34 in June 2024 is the last release. It took months, and the last few weeks were the only stretch where I went quiet on the blog.
Photo gallery
What I learned
- Version the app and the firmware together. A MissionControl build only worked with its matching firmware, and I ended up writing the compatible firmware version into every release note. Two version numbers for one product is one too many; next time the app and the firmware share one.
- Test the data path for as long as a real flight. Release 0.0.34 exists because the app stopped listening after ten seconds of serial data, which on the bench never mattered and in the field cut off the part of the flight people cared about.
- Hard-coded board assumptions are the real cost of a second product. Adding STARLIGHT MINI in 0.0.32 meant pulling STARLIGHT's two pyro channels and 6-DOF IMU out of places they'd been baked in. The app should have described a board from the start instead of assuming one.
- Customers wanted the boring features. The 0.0.33 debrief rewrite and the JSON download were the two most asked-for things, and both were smaller jobs than the features I'd planned on my own.