From: Arunima DIvya Date: Thu, 2 Feb 2017 05:10:46 +0000 (-0800) Subject: Wrote method to get rightGearPistonValue X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=06415bd82ca9e1fb7c7508b50953b7bea926b2e2 Wrote method to get rightGearPistonValue --- diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java index 3265d9b..0dda452 100644 --- a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java @@ -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 */