Change gear getter method
authorArunima DIvya <adivya822@student.fuhsd.org>
Tue, 31 Jan 2017 05:15:53 +0000 (21:15 -0800)
committerArunima DIvya <adivya822@student.fuhsd.org>
Fri, 3 Feb 2017 03:23:38 +0000 (19:23 -0800)
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java

index bf294383c3e3a9c828d1142f8964648153040eba..3265d9bc4285a0f9ab2df9919cac9649bb759033 100644 (file)
@@ -172,18 +172,10 @@ public class DriveTrain extends Subsystem {
    * @return a value that is the current setpoint for the piston kReverse or
    * KForward
    */
-  public Value getLeftGearPistonValue() {
+  public Value getGearPistonValue() {
     return leftGearPiston.get();
   }
 
-  /*
-   * @return a value that is the current setppoint for the piston kReverse or
-   * kForward
-   */
-  public Value getRightGearPistonValue() {
-    return rightGearPiston.get();
-  }
-
   /*
    * Changes the ball shift gear assembly to high
    */