A Raider Robotics repository for VEXU Spin Up, with tooling for working inside a preconfigured vs-code dev container.
This repository is setup as a visual studio code dev container. To work on code:
- Install Docker Desktop.
- Install VS Code. Note this is different from Visual Studio (which has a purple icon rather than a blue one).
- Add the Dev Containers extension.
- Open the command pallette using Ctrl + Shift + P, then search for Dev Containers: Open Folder in Container and select the folder containing a local copy of this repository.
C++ source code is in src
. Header files are defined in include
.
Header files which use pros should include main.h
, as that defines the pros library.
Use pros make
to build code.
In the event pros make
builds successfully but fails to Link the project, try running make clean
to delete any generated build files, then run pros make
again.
- Programs which can be run should have corresponding tasks defined in
launch.json
,tasks.json
, andMakefile
. - Packages are defined in
Dockerfile
. - VSCode extensions are defined in
devcontainer.json
.