mirror of
https://github.com/Team4388/2026KPopRobotHunters.git
synced 2026-06-09 00:38:03 -06:00
Update RobotContainer.java
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user