Skip to content

Commit

Permalink
Merge branch 'stu_battlecry_event' into adam_real_enumerated_tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Java4First committed Oct 15, 2024
2 parents 6099ce3 + d42459f commit b5a937d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ void configurePathPlannerCommands() {
"Shoot Auto AMP w/ Pre-Load",
Commands.sequence(
new WaitCommand(0.5),
m_mast.setTask(Mast.Task.LAUNCHSUB),
m_launcher.setTask(Launcher.Task.LAUNCHSUB),
m_mast.setTask(Mast.Task.LAUCNHNOTEPRE),
m_launcher.setTask(Launcher.Task.LAUCNHNOTEPRE),
new WaitUntilCommand(m_launcher::atSpeed),
m_incrementer.setTask(Incrementer.Task.LAUNCHMAN)));

Expand Down
5 changes: 3 additions & 2 deletions src/main/java/frc/robot/subsystems/Launcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ public class Launcher extends SubsystemBase {
public enum Task {
INTAKING("Intaking", 0.0, 0.0),
LOADINC("Load INC", 0.0, 0.0),
LAUNCHSUB("Launch Subwoofer", 0.42, 3000.00),
LAUNCHKEY("Launch Protected", 0.67, 4000),
LAUNCHSUB("Launch Subwoofer", 0.44, 3000.00),
LAUNCHKEY("Launch Protected", 0.69, 4000),
LAUNCHPASS("Launch Pass", 1.00, 5000),
LAUNCHAUTO("Launch Auto", 0.0, 0.0),
PUTAMP("Note->Amp", 0.0, 0.0),
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
1 change: 1 addition & 0 deletions src/main/java/frc/robot/subsystems/Mast.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public enum Task {
OFFKICKSTAND("Off Kickstand", 50.00),
BUMPUP("Bump Up", 1.0),
BUMPDOWN("Bump Down", -1.0),
LAUCNHNOTEPRE("Launch Preload", 44.0),
LAUCNHNOTE1("Launch Note 1", 60.0),
LAUCNHNOTE2("Launch Note 2", 55.0);

Expand Down

0 comments on commit b5a937d

Please sign in to comment.