-
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.
addeed more wait time before spitting out cube. crossbaseline now uses splines. change comp bot robot width changed center right and left endpoiints updated mottion profilling
- Loading branch information
1 parent
264fef7
commit 1c0d58c
Showing
8 changed files
with
46 additions
and
36 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
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
17 changes: 11 additions & 6 deletions
17
PowerUp/src/org/usfirst/frc/team2974/robot/command/auton/FindCube.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 |
---|---|---|
@@ -1,17 +1,22 @@ | ||
package org.usfirst.frc.team2974.robot.command.auton; | ||
|
||
import edu.wpi.first.wpilibj.command.Command; | ||
|
||
/** | ||
* Finds the power cube and positions itself so it is in front of it. | ||
* | ||
* TODO: make the class function | ||
*/ | ||
public class FindCube extends Command { | ||
public class FindCube extends AutonOption { | ||
|
||
@Override | ||
protected boolean isFinished() { | ||
return true; | ||
public FindCube right() { | ||
return this; | ||
} | ||
|
||
public FindCube left() { | ||
return this; | ||
} | ||
|
||
@Override | ||
public AutonOption center() { | ||
return this; | ||
} | ||
} |
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