This is the code base for FRC Team 6901 Knights Robotics.
To help ensure that any changes you make to the code are viable and match format standards, please build your code.
Here are the summarized steps:
- Right click the build.gradle file
- Press Build code
Do note that we are using the spotless formatter to format our code. If your build fails because of this, run: ./gradlew spotlessApply
in a terminal pointed to the robot project directory to fix this.
Here is a video explaining how to contribute to this repository.
Here are the summarized steps:
-
Fork this repository through Github
-
Clone the fork onto your computer
-
Setup the upstream:
git remote add upstream https://github.com/frc-6901/2021-Code.git
-
Create a branch for your change with
git checkout -b feature
-
Make your changes and add them:
git add .
-
Commit your changes:
git commit -m "Change description"
-
Push to origin
git push origin feature
-
Open a pull request on Github