mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[examples] RapidReactCommandBot: Fix array indices (#4833)
This commit is contained in:
@@ -17,8 +17,8 @@ public class Intake extends SubsystemBase {
|
||||
private final DoubleSolenoid m_pistons =
|
||||
new DoubleSolenoid(
|
||||
PneumaticsModuleType.REVPH,
|
||||
IntakeConstants.kSolenoidPorts[1],
|
||||
IntakeConstants.kSolenoidPorts[2]);
|
||||
IntakeConstants.kSolenoidPorts[0],
|
||||
IntakeConstants.kSolenoidPorts[1]);
|
||||
|
||||
/** Returns a command that deploys the intake, and then runs the intake motor indefinitely. */
|
||||
public CommandBase intakeCommand() {
|
||||
|
||||
Reference in New Issue
Block a user