projects
/
3501
/
2017steamworks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change gear piston variable names
[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 7784854220a2994b4134c2bc9bb5c1bc624fc7bc..29dc7121ead6f0b2f67cbe0e42e218e49c1a5a02 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
+++ b/
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
@@
-52,10
+52,13
@@
public class DriveTrain extends Subsystem {
this.imu = new ADXRS450_Gyro(Constants.DriveTrain.GYRO_PORT);
this.imu = new ADXRS450_Gyro(Constants.DriveTrain.GYRO_PORT);
+ // TODO: Not sure if MODULE_NUMBER should be the same for both
leftGearPiston = new DoubleSolenoid(Constants.DriveTrain.MODULE_NUMBER,
leftGearPiston = new DoubleSolenoid(Constants.DriveTrain.MODULE_NUMBER,
- Constants.DriveTrain.LEFT_FORWARD, Constants.DriveTrain.LEFT_REVERSE);
+ Constants.DriveTrain.LEFT_GEAR_PISTON_FORWARD,
+ Constants.DriveTrain.LEFT_GEAR_PISTON_REVERSE);
rightGearPiston = new DoubleSolenoid(Constants.DriveTrain.MODULE_NUMBER,
rightGearPiston = new DoubleSolenoid(Constants.DriveTrain.MODULE_NUMBER,
- Constants.DriveTrain.RIGHT_FORWARD, Constants.DriveTrain.RIGHT_REVERSE);
+ Constants.DriveTrain.RIGHT_GEAR_PISTON_FORWARD,
+ Constants.DriveTrain.RIGHT_GEAR_PISTON_REVERSE);
}
public static DriveTrain getDriveTrain() {
}
public static DriveTrain getDriveTrain() {