Go to Post There are a lot of great teams that impress me, but four that really stand out... Our team doesn't want to beat these teams, we want to be these teams. - Mark Holschuh [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 18-01-2009, 19:27
zackcool123's Avatar
zackcool123 zackcool123 is offline
Registered User
FRC #1886
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Urbana
Posts: 23
zackcool123 can only hope to improve
Question Help with programing Tank Drive in Lab View

I have found the example of the tank drive program, but i am having a hard time figuring out how to make it for 4 motors insted of two. Any help??
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2009, 19:34
JamesByrne's Avatar
JamesByrne JamesByrne is offline
Registered User
FRC #0360 (The revelution)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Tacoma
Posts: 74
JamesByrne is on a distinguished road
Re: Help with programing Tank Drive in Lab View

You probably want to do that with hardware and not software because if you are using a gear box or if you are direct driving motors. You would not want to drive 2 motors on one side in revere directions.

If you wanted to do it with hardware it is just as simple as using a pwm splitter. You would plug in each side to pwm 1 and 2 then you would plug those into 4 speed controllers.

Let us know if you want to do it with just software for some reason.
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2009, 19:37
zackcool123's Avatar
zackcool123 zackcool123 is offline
Registered User
FRC #1886
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Urbana
Posts: 23
zackcool123 can only hope to improve
Talking Re: Help with programing Tank Drive in Lab View

Right now i am just testing the electronics borad
so software would be a better help
but thanks for the sugestion
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2009, 19:49
TotalChaos's Avatar
TotalChaos TotalChaos is offline
Registered User
AKA: Austin
FRC #2837 (Freebird Robotics)
Team Role: College Student
 
Join Date: Apr 2008
Rookie Year: 2006
Location: Gilbert AZ
Posts: 112
TotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud of
Send a message via MSN to TotalChaos
Re: Help with programing Tank Drive in Lab View

As far as I know the simplest way would be to replace the "Open 2 Motor" function with and "Open 4 Motor function". The function can be found by opening your function palette and going to: WPI Robotics Library > RobotDrive and selecting "Open 4 Motor".



And then obviously you would have to add constants for the other two motors on the Open 4 Motor function and make sure you have the right PWM's to the right slots. (Pressing ctrl+h to bring up context help and hovering over the Open 4 Motor function should help you figure out what goes where)

Hope that helps!

- Austin
__________________
The 39th Aero Squadron - Team 39! (Visit our website!)
Team Role: 3 Years as Driver - College Student/Mentor!


Freebird Robotics - On a 1 year hiatus! (Visit our website!)
Arizona 2009: Semifinalists! (69 and 498), Delphi "Driving Tomorrow's Technology" Award

Last edited by TotalChaos : 18-01-2009 at 19:51.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tank Drive with Advanced Framework in Labview finman NI LabVIEW 4 30-01-2009 13:35
Lab View Schotty57 Programming 5 02-04-2008 20:24
Tank Drive help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Idaman323 Programming 3 18-02-2005 15:17
Calculus Students: Need Help with Precalc Lab Jaine Perotti Math and Science 13 25-12-2004 23:32
Major problems with tank tread drive Lord Nerdlinger Technical Discussion 13 23-02-2004 21:15


All times are GMT -5. The time now is 08:17.

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