Development
This repository is used to maintain and reflash the ESCs on rovers when necessary. To use it, you will need to first download platformIO extension in VSCode (as seen below):
Next, you will need to rebuild the project and flash it to the ESC using the gui integrated into VSCode. To build it, you need to click on the checkmark icon in the bottom left corner of the screen:
Now, you can connect the ESC to one of the USB ports on your laptop and find an arrow icon to flash it:
Rationale
We attempted to set this up in a devcontainer, but unfortunately that required mounting the usb interface to the devcontainer. This, in turn, gave rise to several issues on MacOS, where a cumbersome workaround would be necessary to get it to work.