From: Arunima DIvya Date: Tue, 31 Jan 2017 05:15:53 +0000 (-0800) Subject: Change gear getter method X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=774282741911caba7531749d07aba13c6194bd18 Change gear getter method --- diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java index bf29438..3265d9b 100644 --- a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java @@ -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 */