Update RobotContainer.java

This commit is contained in:
mimigamin
2026-03-12 18:06:12 -06:00
parent 3ef0a876f6
commit af3646ff43
@@ -246,17 +246,11 @@ public class RobotContainer {
// IF the driver is holding the aim button, aim the robot towards the hub and shooter ready
new Trigger(() -> getDeadbandedDriverController().getRightTriggerAxis() >= 0.5)
.onTrue(new InstantCommand(
() -> {
m_robotSwerveSIM.driveFacingPosition(
FieldPositions.HUB_POSITION
);
})
// () -> {
// m_robotSwerveDrive.driveFacingPosition(
// getDeadbandedDriverController().getLeft(),
// FieldPositions.HUB_POSITION,
// ShooterConstants.AIM_LEAD_TIME.get()
// );
() -> m_robotSwerveDrive.driveFacingPosition(
getDeadbandedDriverController().getLeft(),
FieldPositions.HUB_POSITION,
ShooterConstants.AIM_LEAD_TIME.get()
), m_robotSwerveDrive)
// }, m_robotSwerveDrive)
// () -> {
// m_robotSwerveDrive.driveFacingVelocity(