-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b473f2c
commit 5f6b555
Showing
2 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package frc.robot.commands; | ||
|
||
import frc.robot.commands.DriveStraightCmd; | ||
import frc.robot.commands.RotateDegreesCmd; | ||
import frc.robot.subsystems.SwerveSubsystem; | ||
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; | ||
|
||
public class CustomTestCmd extends SequentialCommandGroup{ | ||
|
||
public CustomTestCmd(SwerveSubsystem swerveSubsystem) { | ||
addCommands( | ||
new DriveStraightCmd(0.0, 2.0, swerveSubsystem), | ||
new RotateDegreesCmd(180.0, true, swerveSubsystem), | ||
new DriveStraightCmd(0.0, 2.0, swerveSubsystem) | ||
); | ||
} | ||
|
||
|
||
|
||
} |