frc868 / 2019-Robot

Deprecated command-based code for FRC 868's 2019 robot, Burnout
2 stars 0 forks source link

Remove cube root function from XboxControllerPlus get[stick](), put it in each specific teleop command where it is useful #2

Closed armaangoel78 closed 5 years ago

armaangoel78 commented 5 years ago

Currently, the XboxControllerPlus command cube roots the outputs of all 4 stick axes before returning them. This is useful for drive but not for controlling things like tilt and elevator, so we should add cube rooting to the ArcadeDrive command and remove cube rooting from XboxControllerPlus.