View Single Post
  #1   Spotlight this post!  
Unread 16-01-2012, 19:51
jameshayek jameshayek is offline
Registered User
FRC #4347
 
Join Date: Jan 2012
Location: United States
Posts: 3
jameshayek is an unknown quantity at this point
Mapping buttons on a configured joystick to new motors

Hello all and thank you in advance for your help and advice.

I am part of team 4347 and we are all rookies. We decided to go with labView but will probably tinker in C++ as well.

My question here pertains to LabView. I have sample code that I have uploaded and I am confused on how to map buttons on a currently configured joystick to conrol a new servo or motor.

The joystick axis was originally set to control a two motor device, I changed it to control mechanum wheels. (I still must modify this control systyem when my wheels come in, as you will see from my rotation value of 0) In the sample code there was no set up for using buttons and I was unable to find good documents online.

Would someone be able to help me create/map a button to a new motor? I would like to have one button turn the motor to the right, and another to turn it to the left.

My current coding problem is in the TeleOp Vi

Thank you in advance for all your help.

James
Attached Files
File Type: zip 2012 Robot Project.zip (210.8 KB, 17 views)
Reply With Quote