projects
/
3501
/
2017steamworks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wrote method to get rightGearPistonValue
[3501/2017steamworks]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
subsystems
/
DriveTrain.java
diff --git
a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
index 3265d9bc4285a0f9ab2df9919cac9649bb759033..0dda452b7a325230667e6636da28bd78eff38dff 100644
(file)
--- 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
*/
* @return a value that is the current setpoint for the piston kReverse or
* KForward
*/
- public Value getGearPistonValue() {
+ public Value get
Left
GearPistonValue() {
return leftGearPiston.get();
}
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
*/
/*
* Changes the ball shift gear assembly to high
*/