frc5687 / 2017-protobot

For prototyping the 2017 robot
5 stars 2 forks source link

Auto Shifting #137

Closed ianof closed 7 years ago

ianof commented 7 years ago

Add automatic shifting with a manual override

BenBernardCIS commented 7 years ago

This should be part of DriveWith2Joysticks and DriveTrain.

SHIFT_DELAY should start at around 250ms, but we can tune that as needed. SHIFT_UP_THRESHOLD should be higher than SHIFT_DOWN_THRESHOLD, but other than that the values should be determined at Falmouth.

BenBernardCIS commented 7 years ago

We'll need to tune the thresholds and delays at Falmouth, but it's all working.