This is the official code of team Spikes#2212 for the 2020 FRC season.
- This project is developed according to the standard java code style convention, described here.
- Each branch is named in
lower-case
. - Commit messages are written in
lower case
.
All code in this project should be written according to the following convention, code would not be merged in case it doesn't.
- All classes should be written in the following order
- Constant Values
- Singleton Initialization
- Class Members
- Constructor
- Methods.
- All Singleton member values should be initialized in one line, no initializations in the constructor!
- All
Namespace
instances should be named inlower case
.
- All CANBus components should be named in
lower-case
according to the following convention -subsystem-side-controller \ index
- All ports in RobotMap should be named in
ALL_CAPS
according to the following conventionSUBSYSTEM_COMPONENT_INDEX
This code is developed using the feature branches workflow.
Each feature is developed inside its own branch, which is merged into dev after CR and testing.
Each feature branch should be forked by a feature-branch-name-testing
branch, in which all necessary testing code is added.
all the code fixed should be commit into this branch.
After the code passes testing all the commits from the -testing
branch are squashed,
and then it is merged with the feature branch.
All feature branches that passed testing successfully are later merged into the dev
branch,
which is in turn merged into master
after passing complete testing and integration.