Skip to content

Commit

Permalink
Fix of elevator issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonisrailov committed Mar 3, 2018
1 parent f192c13 commit 2468451
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ protected void initialize() {

// Called repeatedly when this Command is scheduled to run
protected void execute() {
Robot.ELEVATOR.setSpeed(0);

// If one second remaining, buzz controller to notify operator
if (RobotMap.ELEVATOR_HOLD_TIME - this.timeSinceInitialized() < 1.0 && !startedBuzz) {
new BuzzController(1, 0.3, Robot.OI.operator).start();
Expand Down

0 comments on commit 2468451

Please sign in to comment.