From: Cindy Zhang Date: Sat, 4 Feb 2017 19:25:04 +0000 (-0800) Subject: add timeToClimbFor constant X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=4edb36b41eb77c200fd32d18d2c8ab07ae8f50ec add timeToClimbFor constant --- diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java index 5c94e53..645e345 100644 --- a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java @@ -22,7 +22,8 @@ public class DriveTrain extends Subsystem { public static final int ENCODER_PULSES_PER_REVOLUTION = 256; public static final double INCHES_PER_PULSE = WHEEL_DIAMETER * Math.PI / ENCODER_PULSES_PER_REVOLUTION; - public static final int MAINTAIN_CLIMBED_POSITION = 1; + public static final int MAINTAIN_CLIMBED_POSITION = 0; + public static final int TIME_TO_CLIMB_FOR = 0; private static DriveTrain driveTrain; private final CANTalon frontLeft, frontRight, rearLeft, rearRight;