diff --git a/simgui.json b/simgui.json index d2b6273..2d09ed5 100644 --- a/simgui.json +++ b/simgui.json @@ -28,9 +28,6 @@ "NetworkTables": { "transitory": { "SmartDashboard": { - "Shooter": { - "open": true - }, "open": true } } diff --git a/src/main/java/com/stuypulse/robot/RobotContainer.java b/src/main/java/com/stuypulse/robot/RobotContainer.java index fba1a9a..0014ba4 100644 --- a/src/main/java/com/stuypulse/robot/RobotContainer.java +++ b/src/main/java/com/stuypulse/robot/RobotContainer.java @@ -22,6 +22,7 @@ import edu.wpi.first.wpilibj.smartdashboard.SendableChooser; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import edu.wpi.first.wpilibj2.command.Command; +import edu.wpi.first.wpilibj2.command.button.Trigger; public class RobotContainer { @@ -66,6 +67,9 @@ private void configureDriverBindings() { // swerve + // turret + driver.getLeftButton().onTrue(new TurretPoint(new Translation2d(0, 0))); // change the button later lol + // left bumper -> robot relative // odometry