-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from frc3316/oded/stackerStateMachine
Oded/stacker state machine
- Loading branch information
Showing
26 changed files
with
586 additions
and
402 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
src/org/usfirst/frc/team3316/robot/chassis/commands/StartIntegrator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package org.usfirst.frc.team3316.robot.chassis.commands; | ||
|
||
import org.usfirst.frc.team3316.robot.Robot; | ||
|
||
import edu.wpi.first.wpilibj.command.Command; | ||
|
||
/** | ||
* | ||
*/ | ||
public class StartIntegrator extends Command { | ||
|
||
public StartIntegrator() { | ||
// Use requires() here to declare subsystem dependencies | ||
// eg. requires(chassis); | ||
} | ||
|
||
// Called just before this Command runs the first time | ||
protected void initialize() | ||
{ | ||
Robot.chassis.addNavigationIntegrator(Robot.chassis.navigationIntegrator); | ||
} | ||
|
||
// Called repeatedly when this Command is scheduled to run | ||
protected void execute() { | ||
} | ||
|
||
// Make this return true when this Command no longer needs to run execute() | ||
protected boolean isFinished() { | ||
return true; | ||
} | ||
|
||
// Called once after isFinished returns true | ||
protected void end() { | ||
} | ||
|
||
// Called when another command which requires one or more of the same | ||
// subsystems is scheduled to run | ||
protected void interrupted() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
src/org/usfirst/frc/team3316/robot/rollerGripper/commands/RollIn.java
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
src/org/usfirst/frc/team3316/robot/rollerGripper/commands/RollOut.java
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
src/org/usfirst/frc/team3316/robot/rollerGripper/commands/RollTurnClockwise.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.