Go to Post These are the moments you will bring with you the rest of your life, enjoy them! - KathieK [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:41.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi