Go to Post They really should put warning signs at all entrances: "WARNING! FIRST IS CONTAGIOUS!" - KenWittlief [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2012, 22:02
chall3613 chall3613 is offline
Registered User
AKA: Candace
FRC #3613 (Team Wolf Pack)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: New York
Posts: 28
chall3613 is an unknown quantity at this point
Question labview Drive Programming, 2 Joysticks, 4 Motors

I know there is already a thread about this, but it was from last year, 2011 Labview. So question. How do you program 4 different wheels being controlled SEPARATELY? Is that possible? Because then 2 wheels will only go one direction, unlike the other two that will go forward and back because the joystick is.

Last year we were a rookie team and we only had 2 motors, tank drive. Also, we used the triggers on the joysticks to move a window motor forward and backwards. (Right-forward, Left-back).

Right now, I've got the 4 motors in the begin.vi, all going to a open 4 motor and the 2 joysticks in USB 1 and 2.

Please, and Thank you!
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2012, 22:18
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: labview Drive Programming, 2 Joysticks, 4 Motors

If you wire your Open 4 Motor to a Drive RefNum Set and give it a name, you'll be able to use a Drive RefNum Get to open it. You'll then wire the two axis from your joysticks to the tank drive module. Moving from two to four motors takes a bit of logical thinking in terms of what goes where, and what should do what. It's best to do the coding in front of your bot.
Reply With Quote
Reply


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 22:25.

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