Quote:
Originally Posted by BradenWatling
Here is how we implemented auto shifting this year. It seemed to work well but we decided we wanted to be able to manually control our shifting due to interlocking that we implemented between the chassis and other systems.
https://github.com/runnymederobotics...b232a55ebd?w=1
|
How did you determine Constants.AUTO_SHIFT_UP_THRESHOLD to be 0.9 and Constants.AUTO_SHIFT_DOWN_THRESHOLD to be 0.5? Just trial and error?
Also why did you multiply Constants.AUTO_SHIFT_DOWN_THRESHOLD.get() * Constants.CHASSIS_MAX_LOW_ENCODER_RATE.get() ?
The code makes sense, but I don't think it does exactly what we'd like. Thanks for sharing though.