From a0f4bb259c32d3f0c07323cf51eaec1343c1b4dc Mon Sep 17 00:00:00 2001 From: Kavin Muralikrishnan <921563@lcps.org> Date: Thu, 14 Nov 2024 11:10:59 -0500 Subject: [PATCH] Update SysIdRoutineBot.java --- .../wpilibj/examples/sysidroutine/SysIdRoutineBot.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/sysidroutine/SysIdRoutineBot.java b/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/sysidroutine/SysIdRoutineBot.java index acaa1579a26..afdf3400a8e 100644 --- a/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/sysidroutine/SysIdRoutineBot.java +++ b/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/sysidroutine/SysIdRoutineBot.java @@ -68,19 +68,19 @@ public void configureBindings() { m_driverController .a() .and(m_driverController.leftBumper()) - .whileTrue(m_drive.sysIdQuasistatic(SysIdRoutine.Direction.kForward)); + .whileTrue(m_shooter.sysIdQuasistatic(SysIdRoutine.Direction.kForward)); m_driverController .b() .and(m_driverController.leftBumper()) - .whileTrue(m_drive.sysIdQuasistatic(SysIdRoutine.Direction.kReverse)); + .whileTrue(m_shooter.sysIdQuasistatic(SysIdRoutine.Direction.kReverse)); m_driverController .x() .and(m_driverController.leftBumper()) - .whileTrue(m_drive.sysIdDynamic(SysIdRoutine.Direction.kForward)); + .whileTrue(m_shooter.sysIdDynamic(SysIdRoutine.Direction.kForward)); m_driverController .y() .and(m_driverController.leftBumper()) - .whileTrue(m_drive.sysIdDynamic(SysIdRoutine.Direction.kReverse)); + .whileTrue(m_shooter.sysIdDynamic(SysIdRoutine.Direction.kReverse)); } /**