Skip to content

Commit

Permalink
Merge pull request #76 from AGausmann/competition
Browse files Browse the repository at this point in the history
Competition fixups
  • Loading branch information
rhauch committed Mar 13, 2016
2 parents c35a6da + fc11002 commit 709088f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public AutoChevalDeFrise(DriveSystem drive, Arm arm, DistanceSensor distanceToOb
})),
new MoveArmTo(arm, Robot.ARM_CHEVAL_DOWN_ANGLE),
Command.pause(1.0),
new TimedDrive(drive, 0.8, 0.5),
simultaneously(new MoveArmTo(arm, 5.0),
new TimedDrive(drive, 0.8, 1.5)));
}
Expand Down
4 changes: 2 additions & 2 deletions CompetitionRobot/src/org/frc4931/robot/roller/Roller.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ public Roller(Motor rollerMotor, Switch ballIn) {
* Pulls a ball in.
*/
public void suck() {
wheels.setSpeed(-1.0);
wheels.setSpeed(1.0);
}

/*
* Pushes a ball out.
*/
public void spit() {
wheels.setSpeed(1.0);
wheels.setSpeed(-1.0);
}

/*
Expand Down

0 comments on commit 709088f

Please sign in to comment.