- Clone this repo
- Run
./gradlew
to download gradle and needed FRC/Vendor libraries - Run
./gradlew tasks
to see available options - Enjoy!
- Get the WPILib extension for easiest use from the VSCode Marketplace - Requires Java 11 or greater
- In
.vscode/settings.json
, set the User Setting,java.home
, to the correct directory pointing to your JDK 11 directory
- Run
./gradlew idea
- Open the
robot-2020.ipr
file with IntelliJ
- Run
./gradlew deploy
to deploy to the robot in Terminal (*nix) or Powershell (Windows) - Run
./gradlew build
to build the code. Use the--info
flag for more details - Run
./gradlew assemble
to build the code without running all unit tests. Use the--info
flag for more details - Run
./gradlew test
to run all of the JUnit tests
We break our code up into robot code and libraries.
- src contains the 2020 robot code and utilities.
- cheesylib written by Team 254 for the 2018-2019 season.
- madtownlib written by Team 1323 for the 2019 season based on Team 254 code for the 2018 season.
- cyberlib written by Team 4911 for the 2020 season.
- as7262 Driver for the Adafruit as726x 6 channel color sensor.
- vl53l0x Driver for the STMicroelectronics VL53L0X time of flight laser-ranging sensor.
Robots: robot-2020, proto,
These are robot projects. The code in these projects should be specific to the robot and it's mechanisms. Robots are developed using using cheeylib
, madownlib
, and sensors as needed. Typically constants and subsystems will vary. It's possible autos could be shared and we'll look at this later.
All robots depend on cheesylib
.
cheesylib is code that is shared between all robots. It was written by Team 254 Cheesey Poofs for 2018-2019.
It also includes rotation and translation support needed for sverve drive modules courtesy of Team 1323 MadTown Robotics.
madtownlib is code for swerve drive modules courtesy of Team 1323 MadTown Robotics for season 2019.
cyberlib is utility code for io controllers, annotations, logging, etc.