after portland before UNH
This commit is contained in:
@@ -14,6 +14,7 @@ import org.littletonrobotics.junction.Logger;
|
||||
|
||||
import com.pathplanner.lib.auto.AutoBuilder;
|
||||
import com.pathplanner.lib.auto.NamedCommands;
|
||||
import com.pathplanner.lib.commands.PathPlannerAuto;
|
||||
import com.pathplanner.lib.events.EventTrigger;
|
||||
import com.pathplanner.lib.path.EventMarker;
|
||||
|
||||
@@ -113,6 +114,16 @@ public class RobotContainer {
|
||||
if(AutoConstants.kAutoConfigOk) {
|
||||
autoChooser = AutoBuilder.buildAutoChooser();
|
||||
SmartDashboard.putData("Auto Chooser", autoChooser);
|
||||
|
||||
autoChooser.addOption(
|
||||
"MOVE B____ right to center",
|
||||
new PathPlannerAuto("MOVE B____ left to center", true)
|
||||
);
|
||||
|
||||
autoChooser.addOption(
|
||||
"right to center",
|
||||
new PathPlannerAuto("left to center", true)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user