General Resources
We use java for all of our robot code, but we use a special library called WPILib that allows us to do most of our robot code. WPILib has docs at https://docs.wpilib.org/en/stable/ which walk you through how to write a simple robot from scratch. In the advanced programming section, it explains how to do more complicated things such as vision, but also explains command-based programming.
Command based is the structure we use for our code, the idea is to have each part of the robot be its own section in the code, and have commands that do individual tasks such as raise the elevator or intake a game piece.
Reading through these sections will give you a good understanding of how we program our robots. If you want example code, our codebases from the last few years are available at https://angelbotics.org/github
If you want full documentation of everything in WPILib, their docs are at https://github.wpilib.org/allwpilib/docs/release/java/index.html.
Last updated
Was this helpful?