Initial commit

This commit is contained in:
Dave Staudacher
2018-03-05 18:50:01 -07:00
commit 9d6cc277dd
70 changed files with 7862 additions and 0 deletions
@@ -0,0 +1,40 @@
package org.usfirst.frc4388.robot.commands;
import org.usfirst.frc4388.robot.Robot;
import edu.wpi.first.wpilibj.command.Command;
public class IntakePosition extends Command
{
public boolean position;
public IntakePosition(boolean position) {
this.position=position;
requires(Robot.pnumatics);
}
@Override
protected void initialize() {
Robot.pnumatics.setIntake(position);
}
@Override
protected void execute() {
}
@Override
protected boolean isFinished() {
return true;
}
@Override
protected void end() {
}
@Override
protected void interrupted() {
}
}