Quote:
Originally Posted by virtuald
You don't actually need to use the JoystickButton object, you can just use joystick.getRawButton() or joystick.getTrigger(), etc.
Otherwise, make sure you import wpilib.buttons, not just import wpilib.
|
For some really annoying reason, I can't have an "If" statement in my code or the Driver Station will not recognize the code. I tried --nc and it shows nothing. Thanks!