Skip to content

Commit

Permalink
Tweak to Shoot in Auto
Browse files Browse the repository at this point in the history
  • Loading branch information
Java4First committed Jun 2, 2024
1 parent 28de20b commit d42459f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ void configurePathPlannerCommands() {
Commands.sequence(
new WaitCommand(0.5),
m_mast.setTask(Mast.Task.LAUCNHNOTEPRE),
m_launcher.setTask(Launcher.Task.LAUNCHSUB),
m_launcher.setTask(Launcher.Task.LAUCNHNOTEPRE),
new WaitUntilCommand(m_launcher::atSpeed),
m_incrementer.setTask(Incrementer.Task.LAUNCHMAN)));

Expand Down
1 change: 1 addition & 0 deletions src/main/java/frc/robot/subsystems/Launcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public enum Task {
LAUNCHTRAP("Launch Tap", 0.55, 1000), // .60
CLEARJAM("Clear", 0.25, 1000.0),
IDLE("Idle", 0.0, 0.0),
LAUCNHNOTEPRE("Note Preload", .50, 5000),
LAUCNHNOTE1("Launch Note 1", .67, 55.0),
LAUCNHNOTE2("Launch Note 2", .55, 45.0);

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/Mast.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public enum Task {
OFFKICKSTAND("Off Kickstand", 50.00),
BUMPUP("Bump Up", 1.0),
BUMPDOWN("Bump Down", -1.0),
LAUCNHNOTEPRE("Launch Preload", 42.0),
LAUCNHNOTEPRE("Launch Preload", 44.0),
LAUCNHNOTE1("Launch Note 1", 60.0),
LAUCNHNOTE2("Launch Note 2", 55.0);

Expand Down

0 comments on commit d42459f

Please sign in to comment.