-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into OI/#252-NewOC
# Conflicts: # src/main/java/org/frc5687/powerup/robot/OI.java # src/main/java/org/frc5687/powerup/robot/commands/auto/AutoGroup.java # src/main/java/org/frc5687/powerup/robot/subsystems/Climber.java
- Loading branch information
Showing
57 changed files
with
30,342 additions
and
10,120 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
14 changes: 14 additions & 0 deletions
14
...a/org/frc5687/powerup/robot/commands/MoveCarriageToSetpointPIDButWaitForNInchesFirst.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,14 @@ | ||
package org.frc5687.powerup.robot.commands; | ||
|
||
import edu.wpi.first.wpilibj.command.CommandGroup; | ||
import org.frc5687.powerup.robot.commands.auto.AutoWaitForDistance; | ||
import org.frc5687.powerup.robot.commands.auto.AutoWaitForMillis; | ||
import org.frc5687.powerup.robot.subsystems.Carriage; | ||
import org.frc5687.powerup.robot.subsystems.DriveTrain; | ||
|
||
public class MoveCarriageToSetpointPIDButWaitForNInchesFirst extends CommandGroup { | ||
public MoveCarriageToSetpointPIDButWaitForNInchesFirst(DriveTrain drivetrain, Carriage carriage, int target, double inches) { | ||
addSequential(new AutoWaitForDistance(drivetrain, inches, 5000)); | ||
addSequential(new MoveCarriageToSetpointPIDButFirstZeroIt(carriage, target)); | ||
} | ||
} |
Oops, something went wrong.