Auth-Xero / 9430-offseasonSwerve

BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

New Feature: Implement Field Relative Drive to Swerve Drive Subsystem #6

Open bbontrager89 opened 1 week ago

bbontrager89 commented 1 week ago

Describe the current problem The robot currently heads relative to its front chassis which complicates driver control.

Describe the solution you'd like Using Pidgeon 2.0 as a gyro, we must be able to implement a field relative control scheme to allow the drive team to drive the robot in the direction relative to where they're facing on the field. This solution will make it easier to rotate while driving in a single direction without disrupting the intended path of travel.

Consideration: Drivers may need to reset the orientation of the bot from time to time. A control should be added to reset the field heading of the robot.

Describe alternatives you've considered 2024 production bot had working field relative drive with necessary controls. Robot-relative drive would add complexity to driver control.

Additional context