icrobotics-team5584 / FRC-2022-Sumsy

Code for 5584's off-season robot project, a swerve bot for the Deep Space game
Other
1 stars 0 forks source link

Increase dead band on joystick drive #26

Closed Liam-Stow closed 2 years ago

Liam-Stow commented 2 years ago

I'm guessing a lot of the strange, slow movements that the robot does when no one is touching the controller is due to the joysticks being slightly off zero. Run simulation with an xbox controller connected to see the exact values that the joysticks are returning on each axis. This is visable in the Joysticks window. Increase the dead band in CmdDriveRobot to just above the largest resting value you can see.