Sandbox
For teams that want to write their own code to run on their drone, we recommend doing so through the "vrc_sandbox" in the Phase II repo: https://github.com/bellflight/VRC-2021-Phase-II/tree/main/vrc_sandbox. This has already been configured to be very simple to get started with.
Edit the contents of
vrc_sandbox/sandbox.pywith your desired code. Read the comments within the file to understand what's going onUn-comment the
sandboxmodule from thedocker-compose.ymlfile to enable it with the rest of the VMC softwareRun
sudo docker-compose build sandboxto ensure the built Docker container contains the latest version of your code

With that, you can start the VMC software like normal! Your code will run alongside the rest of the VMC modules.
Last updated
Was this helpful?