From f377a9c573ea90f9d50cf85880a150f7036ae644 Mon Sep 17 00:00:00 2001 From: Kavin Muralikrishnan <142550397+Advay17@users.noreply.github.com> Date: Thu, 28 Nov 2024 02:04:53 -0500 Subject: [PATCH] [examples] Fix SysId example references to shooter subsystem (#7392) --- .../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)); } /**