This is the repo for Fall 2023 MiniSwerve project
To get the code to deploy to the robot open the folder in VS code
You can push changes for the robot to the remote even if you only have one of the folders open
The constants for offsets are at the top of the constants file
To change the offsets for the swerve module:
- Turn the robot on and put it on its side and face all of the bevel gears of towards the side labeled on the bellypan
- Use a piece of box tube to make sure all of the wheels are aligned
- Then open up the shuffleboard and connect to the robot (Do not enable the robot)
- Find the boxes on the shuffleboard that are labeled cancoders 0-3 and copy their values into the constants file
- Deploy the code to the robot and check if the wheels are driving straight
- If not try and do the offsets again