Closed pauloalbert closed 5 years ago
You need to configure the peak target velocity and peak target acceleration for the Elevator. Also, please set the arbitrary feedforward term to zero when the Elevator is all the way down.
@pauloalbert dont forget to set nominal output 1
This pull request adds the code for the Elevator subsystem. The subsystem uses a Talon SRX with Motion Magic control mode to raise the Elevator and a Victor SPX following its outputted current. The subsystem uses four different PIDF gains sets, depending on the elevators state (for the full explanation, see the Javadoc in the subsystem's code).
Commands
Subsystem methods