View Single Post
  #1   Spotlight this post!  
Unread 21-02-2012, 21:01
matthewdenny's Avatar
matthewdenny matthewdenny is offline
Registered User
FRC #6054 (Dukes)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 310
matthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant future
Exclamation Motors do not accept joystick axis inputs

We are attempting to control the power output of a motor via joystick axis. Upon a button press, the output should be set to the current value of the x axis of our joystick. The classmate recognizes the joystick; the lights are turning blue upon the press of buttons and axis movement. The motor will turn on if a numeric constant is used to set output, but will not read the joystick axis (it reads as 0, the motor remains off). Any ideas?
Reply With Quote