Adds support to load an arbitrary jocs file from the GUI (and REPL). The GUI now displays the home locations of drones, and pause/stop/resume behave correctly.
Caveats: Loading a different jocs file doesn't currently work. There are guards to not try while the drones are in the air, but even when they're on the ground loading a new file currently segfaults. You also cannot start from an arbitrary breakpoint, going to fake it by using jocs files that start at each breakpoint.
:heavy_check_mark: Testing
[x] Ran with realChoreography.jocs. Paused and resumed without error.
May be worth commenting out some additional debug statements associated with the lighting actions: console output gets pretty unreadable when the lighting goes on.
:book: Summary
Fleshing out the GUI and
jocsPlayer
class.:mag: Details
Adds support to load an arbitrary jocs file from the GUI (and REPL). The GUI now displays the home locations of drones, and pause/stop/resume behave correctly.
Caveats: Loading a different jocs file doesn't currently work. There are guards to not try while the drones are in the air, but even when they're on the ground loading a new file currently segfaults. You also cannot start from an arbitrary breakpoint, going to fake it by using jocs files that start at each breakpoint.
:heavy_check_mark: Testing
realChoreography.jocs
. Paused and resumed without error.:heavy_check_mark: Verification