Right now in DefaultLift.java, the command either uses the encoder or PID to control the lift, based on a variable in OI.java. Make a new command called SimpleLift.java and LITERALLY COPY AND PASTE THE CODE from DefaultLift.java to SimpleLift.java. Then, move the code from this commit into DefaultLift.java.
Finally, in the subsystem Lift.java, set DefaultLift as the default command in the initDefaultCommand() method. MAKE SURE TO MAKE A NEW BRANCH.
Right now in
DefaultLift.java
, the command either uses the encoder or PID to control the lift, based on a variable inOI.java
. Make a new command calledSimpleLift.java
and LITERALLY COPY AND PASTE THE CODE fromDefaultLift.java
toSimpleLift.java
. Then, move the code from this commit intoDefaultLift.java
.Finally, in the subsystem
Lift.java
, setDefaultLift
as the default command in theinitDefaultCommand()
method. MAKE SURE TO MAKE A NEW BRANCH.