Pumpkin-Bots / oldPumpkinBots_2024_Swerve

Original Swerve drive implementation in Java
Other
0 stars 0 forks source link

Update Swerve Bot to account for new chassis size & motor location #1

Open alexemrie opened 2 weeks ago

alexemrie commented 2 weeks ago

Issue

Now that we have a new chassis, we need to ensure the constants generated are updated to reflect the new dimensions.

Context

The Swerve Bot drive code project was generated using the CTR Swerve Project Generator. We can see this reflected in a code comment within TunerConstants.java.

// Generated by the Tuner X Swerve Project Generator // https://v6.docs.ctr-electronics.com/en/stable/docs/tuner/tuner-swerve/index.html

TODO

alexemrie commented 1 week ago

New repo created using updated chassis size.

There was an issue with the forward/reverse direction when operating via teleop mode using Xboxcontroller after updating chassis size in Phoenix Tuner. A temporary fix was added which fixes the issue by reversing the sign on the joystick.

Image

TODO: Move repo for Swerve code to Pumpkin-Bots org.