Closed n-arms closed 11 months ago
Hyper extension and contraction are already handled using lowAngle
and highAngle
values in the Elevator.java
sybststem; we just have to fine tune the values.
PID added to elevator in branch origin/elevator-extension
along with the necessary methods. Needs testing.
Forgot to actually check if positionMode
is enabled or not when using PID in periodic()
... gotta fix that tomorrow 😅 (Currently, robot will use PID regardless for elevator extension of what you set position mode to, meaning .setMotor()
does nothing outside of the elevator subsystem class...)
Fixed it; needs testing though 😓
The elevator should be able to extend to given positions automatically. The elevator subsystem should operate in two modes: position mode and raw input mode.
Raw input mode
Position mode