View Single Post
  #1   Spotlight this post!  
Unread 23-01-2009, 17:55
KRibordy KRibordy is offline
Registered User
FRC #1000 (Cybearcats)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2006
Location: Valparaiso, IN
Posts: 36
KRibordy is an unknown quantity at this point
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.
Reply With Quote