Winter 2021: Script generation
Right now, the Flight GUI generates Python scripts to control the flyers. As we develop the firmware that implements this API, we will need to also verify that the generated Python is both as concise as possible as well as correct: incorrectly generated scripts might cause a Flyer Python interpreter to throw an exception and stop.
-
Get up to speed with script generation and understand how FlightGUI transforms the software state of a Fractal Flyer into Python code. -
Allow FlightGUI to control the rate at which it generates scripts. Right now, LXStudio is effectively an infinite loop, updating the piece as quickly as it can. We want to decouple the software update rate (the rate at which LXStudio changes the values of variables of Java objects representing Flyers) from the script update the rate (the rate at which FlightGUI sends scripts to flyers). It doesn't make sense to have the scripting rate higher than the software update rate, but it can make sense to have it be slower. Update the FlightGUI UI so you can control the scripting rate. Due: Tuesday, February 9th