Skip to content

Commit de4135f

Browse files
authored
Fix syntax error, edit constant to more reasonable value.
1 parent e62ffb8 commit de4135f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • Robot2019/src/main/java/frc/robot/commands

Robot2019/src/main/java/frc/robot/commands/Climb.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class Climb extends Command {
2424
private final double retract = -1;
2525
private final double overrideThreshold = 0.1; // TODO: Set this to reasonable/tested value;
2626
private final double retractGoal = 0; // TODO: Set this to reasonable/tested value;
27-
private final double offGroundHeight = 15; // TODO: Set this to reasonable/tested value;
27+
private final double offGroundHeight = 10; // TODO: Set this to reasonable/tested value;
2828

2929
public Climb(Climber climber, Drivetrain dt, Joystick joy) {
3030
// Use requires() here to declare subsystem dependencies
@@ -40,7 +40,6 @@ public Climb(Climber climber, Drivetrain dt, Joystick joy) {
4040
protected void initialize() {
4141
state = State.CLIMBING;
4242
climber.resetEncoder();
43-
timer.reset();
4443
}
4544

4645
// Called repeatedly when this Command is scheduled to run

0 commit comments

Comments
 (0)