Skip to content

hhe07/2020-robot-code

 
 

Repository files navigation

2020 Robot Code

Code for FRC 2036 Black Knights' 2020 Infinite Recharge robot.

Building

This project uses gradle as its build system. The GradleRIO plugin provides a wide number of FRC specific gradle commands (see here for details).

The major commands are:

  • ./gradlew build - build the project
  • ./gradlew deploy - deploy code to the robot (or ./gradlew build deploy to do both)
  • ./gradlew riolog - display the rio log output

Deploying and displaying the log require your computer to be connected to the robot (tethered over ethernet or connected to the robot's radio).

Passing the --offline flag to gradle will prevent it from trying to update and/or download dependencies, which can be useful at competition.

It is highly recommenced to use intellij when working on the code. VSCode, though it is the officially supported editor, provides very limited code completion. Intellij provides excellent code completion, especially for kotlin.

FRC Documentation

The documentation for the FRC Control System can be found here. These are very useful to refer to.

About

Code for 2036's FRC 2020 Infinite Recharge Robot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%