Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.
/ Oak-Madtown-OLD Public archive

Code for 6657's Swerve Bot at the 2023 MadTown ThrowDown

License

Notifications You must be signed in to change notification settings

FRC6657/Oak-Madtown-OLD

Repository files navigation

Arbor Swerve Java Template

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 SPARK 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

  • WPILib 2023.4.3 - General Project Library
  • SPARK MAX Firmware v1.6.3 - Adds features that are required for swerve
  • REVLib v2023.1.3 - 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.

About

Code for 6657's Swerve Bot at the 2023 MadTown ThrowDown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages