mirror of
https://github.com/Team4388/2026KPopRobotHunters.git
synced 2026-06-09 08:48:05 -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
|
// IF the driver is holding the aim button, aim the robot towards the hub and shooter ready
|
||||||
new Trigger(() -> getDeadbandedDriverController().getRightTriggerAxis() >= 0.5)
|
new Trigger(() -> getDeadbandedDriverController().getRightTriggerAxis() >= 0.5)
|
||||||
.onTrue(new InstantCommand(
|
.onTrue(new InstantCommand(
|
||||||
() -> {
|
() -> m_robotSwerveDrive.driveFacingPosition(
|
||||||
m_robotSwerveSIM.driveFacingPosition(
|
getDeadbandedDriverController().getLeft(),
|
||||||
FieldPositions.HUB_POSITION
|
FieldPositions.HUB_POSITION,
|
||||||
);
|
ShooterConstants.AIM_LEAD_TIME.get()
|
||||||
})
|
), m_robotSwerveDrive)
|
||||||
// () -> {
|
|
||||||
// m_robotSwerveDrive.driveFacingPosition(
|
|
||||||
// getDeadbandedDriverController().getLeft(),
|
|
||||||
// FieldPositions.HUB_POSITION,
|
|
||||||
// ShooterConstants.AIM_LEAD_TIME.get()
|
|
||||||
// );
|
|
||||||
// }, m_robotSwerveDrive)
|
// }, m_robotSwerveDrive)
|
||||||
// () -> {
|
// () -> {
|
||||||
// m_robotSwerveDrive.driveFacingVelocity(
|
// m_robotSwerveDrive.driveFacingVelocity(
|
||||||
|
|||||||
Reference in New Issue
Block a user