repo for ValhallaLib, FRC team 3268's robot code library
Features swerve-drive code, camera code, autonomous code, and dashboard code
This library abides (or tries to abide) to the Kotlin conventions, as seen below:
- Subsystems: End with "Subsystem"
- Commands: End with "Command"
- Constants: UPPERCASE_WITH_UNDERSCORES
- Methods/Functions: startWithLowerCaseThenCamelCase
- Classes: CamelCase
/src/main/kotlin/frc/lib- All the library code (non wpilib code for example) go here/src/main/kotlin/frc/robot- Everything else goes here
The swerve module documentation can be found here. You can also find the swerve database documentation here.
Contributions are (very much) welcome! Generally:
- Keep it simple
- Don't appeal to boilerplate if you don't have to
- Allow extensibility
- Clone/fork the repository
- Change the constants to match your robot
- Enjoy!
Thanks to FRC team 6814 for creating an excellent series on FRC programming (0 to Autonomous). Their code in episode 6 served as the basis for much of the swerve-drive code in this library