|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
The Drive Train works and runs as intended but the Buttons don't. When we press the buttons nothing happens; everything is hooked up correctly so I am unsure what is wrong
[code] public void teleopPeriodic() { Drive.arcadeDrive(drivestick); new JoystickButton(joystick, 1).whenPressed(new ElevatorOff()); new JoystickButton(joystick, 2).whenPressed(new ElevatorOn()); new JoystickButton(joystick, 3).whenPressed(new ElevatorReverse()); new JoystickButton(joystick, 4).whenPressed(new ArmsOut()); new JoystickButton(joystick, 5).whenPressed(new ArmsIn()); new JoystickButton(joystick, 6).whenPressed(new ArmsVerticalIn()); new JoystickButton(joystick, 7).whenPressed(new ArmsVarticalOut()); new JoystickButton(joystick, 8).whenPressed(new BlueLightShow()); new JoystickButton(joystick, 9).whenPressed(new LigthShowOn()); new JoystickButton(joystick, 10).whenPressed(new RedLightShow()); new JoystickButton(joystick, 11).whenPressed(new LightShowEnd()); } |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|