DeepBlueRobotics / RobotCode2018

All of our code for FRC's 2018 game: FIRST Power Up.
5 stars 11 forks source link

set the tolerances for the velocity PID controllers #48

Closed lhmcgann closed 6 years ago

lhmcgann commented 6 years ago

https://trello.com/c/CpbgyDUk/173-add-a-dead-zone-ie-threshold-to-joysticks-so-the-velocity-pid-doesnt-go-crazy

lhmcgann commented 6 years ago

add a "dead zone" (i.e. threshold) to joysticks so the velocity PID doesn't go crazy

brettle commented 6 years ago

It might be better to set the tolerance on the velocity pid controller to ensure that differences on the order of joystick jitter do not cause the controller to think it has not reached its target.