|
Joystick Buttons
We have two servos on our robot, which I would like to have controlled by a single button on the joystick. The servos will go up when the button is pressed, and down when it's released. I can't seem to get the buttons on the joystick to work. stick->GetRawButton(1) works, but that corresponds to the trigger, which is already in use.
I can't seem to get "GetTop()" or "GetRawButton(2)" to work, though. We've verified that the servos work, but the button won't work. We updated the software on the driver station when we set it up. Are there any updates that we missed?
Thanks in advance.
|