Rachet Rockers vision solution for FRC season 2022 "Rapid React"
apt install -y build-essential python3-pip cmake
-
pip install -r requirements.txt
ensure pip bin directory is added to pathcmake -G Ninja -S . -B builddir/
cmake --build builddir/ --parallel
-
pip install -r requirements.txt
ensure pip bin directory is added to patdownload hcmake -G Ninja -S . -B builddir/ -DCMAKE_TOOLCHAIN_FILE=resources/cmake/nano.cmake
cmake --build builddir/ --parallel
cmake --build builddir --target deploy
-
- Folders and namespaces should be in lowercase
- example:
sources/include/rr1706/utils/
- example:
- Files and classes should be in PascalCase
- example:
RoboRIOClient.cpp
- example:
- Variables should be in camelCase
- example:
double cameraOffset;
- example:
- Functions and methods should be in camelCase
- example:
void sendMessage();
- example:
- Private variables should be prefixed with
_
- example:
void _sendMessage();
- example:
- Private function should be prefixed with
_
- example:
double _cameraOffset;
- example:
- Lines shouldn't extend past 120 columns
- Folders and namespaces should be in lowercase