Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit 0957fa6

Browse files
set intake motor to be correct for intake/outtake commands
1 parent 84b4434 commit 0957fa6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/IntakeCube.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected void initialize() {
3131
// Called repeatedly when this Command is scheduled to run
3232
@Override
3333
protected void execute() {
34-
Robot.intakeEject.runIntake(1);
34+
Robot.intakeEject.runIntake(-1);
3535
SmartDashboard.putBoolean("Has Cube", Robot.intakeEject.hasCube());
3636
if (Robot.intakeEject.hasCube()) {
3737
if (!overDraw) {

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/OuttakeCube.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected void initialize() {
2828
// Called repeatedly when this Command is scheduled to run
2929
@Override
3030
protected void execute() {
31-
Robot.intakeEject.runIntake(-1);
31+
Robot.intakeEject.runIntake(1);
3232
}
3333

3434
// Make this return true when this Command no longer needs to run execute()

0 commit comments

Comments
 (0)