2024_Programming_Training_D.../CS21 - PathPlanner Basics
2024-12-29 20:00:03 -05:00
..
.vscode CS20 should be done, CS21 is close 2024-07-16 19:03:42 -04:00
.wpilib CS20 should be done, CS21 is close 2024-07-16 19:03:42 -04:00
gradle/wrapper CS20 should be done, CS21 is close 2024-07-16 19:03:42 -04:00
src/main Many updates for CS20 and CS21 2024-12-29 20:00:03 -05:00
vendordeps Many updates for CS20 and CS21 2024-12-29 20:00:03 -05:00
.gitignore CS20 should be done, CS21 is close 2024-07-16 19:03:42 -04:00
build.gradle CS20 should be done, CS21 is close 2024-07-16 19:03:42 -04:00
CHANGELOG.md CS20 should be done, CS21 is close 2024-07-16 19:03:42 -04:00
gradlew CS20 should be done, CS21 is close 2024-07-16 19:03:42 -04:00
gradlew.bat CS20 should be done, CS21 is close 2024-07-16 19:03:42 -04:00
LICENSE.txt CS20 should be done, CS21 is close 2024-07-16 19:03:42 -04:00
README.md CS20 should be done, CS21 is close 2024-07-16 19:03:42 -04:00
settings.gradle CS20 should be done, CS21 is close 2024-07-16 19:03:42 -04:00
WPILib-License.md CS20 should be done, CS21 is close 2024-07-16 19:03:42 -04:00

MAXSwerve Java Template v2023.1

See the online changelog for information about updates to the template that may have been released since you created your project.

Description

A template project for an FRC swerve drivetrain that uses REV MAXSwerve Modules.

Note that this is meant to be used with a drivetrain composed of four MAXSwerve Modules, each configured with two SPARKS MAX, a NEO as the driving motor, a NEO 550 as the turning motor, and a REV Through Bore Encoder as the absolute turning encoder.

To get started, make sure you have calibrated the zero offsets for the absolute encoders in the Hardware Client using the Absolute Encoder tab under the associated turning SPARK MAX devices.

Prerequisites

  • SPARK MAX Firmware v1.6.2 - Adds features that are required for swerve
  • REVLib v2023.1.2 - Includes APIs for the new firmware features

Configuration

It is possible that this project will not work for your robot right out of the box. Various things like the CAN IDs, PIDF gains, chassis configuration, etc. must be determined for your own robot!

These values can be adjusted in the Constants.java file.