Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/team-501-the-powerknights/2024-rev-robot
Template program for swerve drive from Rev Robotics.
https://github.com/team-501-the-powerknights/2024-rev-robot
Last synced: 5 days ago
JSON representation
Template program for swerve drive from Rev Robotics.
- Host: GitHub
- URL: https://github.com/team-501-the-powerknights/2024-rev-robot
- Owner: Team-501-The-PowerKnights
- License: bsd-3-clause
- Created: 2024-02-03T17:39:56.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-17T01:53:02.000Z (9 months ago)
- Last Synced: 2024-02-17T02:36:38.013Z (9 months ago)
- Language: Java
- Size: 73.2 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# MAXSwerve Java Template v2023.1
See [the online changelog](https://github.com/REVrobotics/MAXSwerve-Java-Template/blob/main/CHANGELOG.md) 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.