Permalink
Browse files

WIP more teleop conversion to iterative

  • Loading branch information...
Linnea
Linnea committed Oct 12, 2018
1 parent b767227 commit 595c4f1d93c0fdfa0996097e754e71294c79340d
@@ -145,6 +145,9 @@ public void teleopPeriodic() {
OI.releaseIntakeSlow.whenReleased(new RunIntakeCommand());
OI.releaseIntakeSlow.whenReleased(new GrabIntakeCommand(true));

// UPDATE ROBOT STATE
if (OI.releaseIntakeFast.)

// EXECUTE
DriveSubsystem.driverControl();
ElevatorSubsystem.driverControl();
@@ -39,11 +39,6 @@ public IntakeSubsystem() {
intakeState = IntakeState.NOT_YET;
compressor.setClosedLoopControl(true);
}

public void initDefaultCommand() {
// Set the default command for a subsystem here.
setDefaultCommand(new RunIntakeCommand());
}

public void runIntake(double leftSpeed, double rightSpeed) { //motors start running
rightMotor.set(ControlMode.PercentOutput, rightSpeed);

0 comments on commit 595c4f1

Please sign in to comment.