Wrote method to get rightGearPistonValue
authorArunima DIvya <adivya822@student.fuhsd.org>
Thu, 2 Feb 2017 05:10:46 +0000 (21:10 -0800)
committerArunima DIvya <adivya822@student.fuhsd.org>
Fri, 3 Feb 2017 03:26:49 +0000 (19:26 -0800)
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java

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