Team612 / 612-2018

GNU General Public License v3.0
1 stars 2 forks source link

Setup the commands for the lift #50

Closed calvin-godfrey closed 6 years ago

calvin-godfrey commented 6 years ago

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.