From 06415bd82ca9e1fb7c7508b50953b7bea926b2e2 Mon Sep 17 00:00:00 2001 From: Arunima DIvya Date: Wed, 1 Feb 2017 21:10:46 -0800 Subject: [PATCH] Wrote method to get rightGearPistonValue --- .../frc/team3501/robot/subsystems/DriveTrain.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 */ -- 2.30.2