/SwerveBot-2022

The source code for the 2022 FRC postseason swerve drive robot.

Primary LanguageJavaBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

SwerveBot-2022

Team 3512's swerve drive code for the 2022 offseason

Modified from Team 364's BaseFalconSwerve project to utilize NEO motors

Therefore, their instructions on modifiying the constants to fit your robot will also work on this repo as well.

Configurations

  • Works with a swerve drive with NEO brushless motors, Spark Max motor controllers, CTRE CANCoders, and CTRE Pigeon 2.0 IMU.
  • Drive and steer ratios are configured for the SDS MK4 L2 modules, but can be easily be adapted to other modules. Remember to invert your turn motor on MK4Is.