- Make sure your firmware is relitivly up to date!
- Our bots current firmware versions:
- Roborio: 2021_v3
- Falcon500's: 21.0.0
- CANCoder's: 20.1
- While you are in the phoenix tuner make sure you know what each motor and cancoders CAN ids are.
- Clone this repository!
- Enter the CAN id's into lines 34-49 in SwerveDrivetrain.java. It is at this point you will choose a "front". This is important for later.
- Comment out line 109 in SwerveDrivetrain.java in addtion to lines 96 and 101 in SwerveModuleMK3.java
- Deploy to robot and enable.
- turn each wheel to point to the "front" you have choosen.
- Open the smartdashboard and record the numbers in the boxes numbered 0-3.
- Enter the numbers gathered above into their corresponding offset in SwerveDrivetrain.java lines 29-32.
- 0: front left
- 1: front right
- 2: back left
- 3: back right
- Uncomment line 109 in SwerveDrivetrain.java in addtion to lines 96 and 101 in SwerveModuleMK3.java
- Happy swerving!
-
Notifications
You must be signed in to change notification settings - Fork 2
Team1710CTO/MK3-Swerve
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published