Go to Post Unfortunately, you cannot always tell when some things are jokes on forums, because we only can rely on text and a limited number of smilies. - artdutra04 [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 16-02-2010, 16:29
nickcvet89 nickcvet89 is offline
Registered User
FRC #1228 (RoboTribe)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2003
Location: Rahway,NJ
Posts: 99
nickcvet89 will become famous soon enough
Send a message via AIM to nickcvet89
4 Motor Tank Drive Problem

So yesterday we encountered a problem with our tank drive program. Last year we used only 2 motors for driving last year, this year we are using 4 motors instead. In the default code i replaced the arcade drive with tank drive and added the close vi in finish. Everything worked fine on our past year robot with 2 motors but when i replaced the open 2 motor vi with an open 4 motor vi we had some issues. The robot drives with the open 4 motor but only 2 of the motors work, one from each side. We have a victor for each motor but only 2 of the victors are receiving signal. The robot is driving but only 2 of the motors are active we would like to get all of the motors working. If anyone has any ideas on how to fix this issue please post. Thanks
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2010, 23:02
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: 4 Motor Tank Drive Problem

I will suggest two things. First, make absolutely certain that the PWM channels you're specifying in the Open 4 Motor are the ones connected to your speed controllers. Second, try reseating the PWM connectors in the Victors; they are notoriously difficult to get right without lots of practice.
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2010, 13:44
dotbran dotbran is offline
Registered User
AKA: Brandon Olsen
FRC #3219 (TREAD)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Auburn, WA
Posts: 68
dotbran is on a distinguished road
Re: 4 Motor Tank Drive Problem

Why would you need four motors for tank drive?
Reply With Quote
  #4   Spotlight this post!  
Unread 21-02-2010, 14:16
pSYeNCe's Avatar
pSYeNCe pSYeNCe is offline
Programaster
AKA: James
FRC #2010 (Lightning Bots)
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2007
Location: Ohio
Posts: 58
pSYeNCe is a splendid one to beholdpSYeNCe is a splendid one to beholdpSYeNCe is a splendid one to beholdpSYeNCe is a splendid one to beholdpSYeNCe is a splendid one to beholdpSYeNCe is a splendid one to beholdpSYeNCe is a splendid one to behold
Re: 4 Motor Tank Drive Problem

Quote:
Originally Posted by dotbran View Post
Why would you need four motors for tank drive?
Just for more power, I would imagine.

As for the actual problem, I agree that you should double check the PWMs in the program and check the physical connectors. We are using Jaguars for the same purpose without issue.

If your PWMs in the program are correct, I would think it's a hardware problem.
Reply With Quote
  #5   Spotlight this post!  
Unread 21-02-2010, 14:19
dotbran dotbran is offline
Registered User
AKA: Brandon Olsen
FRC #3219 (TREAD)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Auburn, WA
Posts: 68
dotbran is on a distinguished road
Re: 4 Motor Tank Drive Problem

Quote:
Originally Posted by pSYeNCe View Post
Just for more power, I would imagine.
That makes sense.

In that case, how about just doing two instances of tank drive (one for front, one for back) and setting everything to control both in parallel?

Or, are you sharing each pair of motors with each pair (L/R) of wheels?

Last edited by dotbran : 21-02-2010 at 14:29. Reason: New idea
Reply With Quote
  #6   Spotlight this post!  
Unread 21-02-2010, 14:28
pSYeNCe's Avatar
pSYeNCe pSYeNCe is offline
Programaster
AKA: James
FRC #2010 (Lightning Bots)
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2007
Location: Ohio
Posts: 58
pSYeNCe is a splendid one to beholdpSYeNCe is a splendid one to beholdpSYeNCe is a splendid one to beholdpSYeNCe is a splendid one to beholdpSYeNCe is a splendid one to beholdpSYeNCe is a splendid one to beholdpSYeNCe is a splendid one to behold
Re: 4 Motor Tank Drive Problem

Quote:
Originally Posted by dotbran View Post
In that case, how about just doing two instances of tank drive (one for front, one for back) and setting everything to control both in parallel?
Hmm, I don't see any reason why not. I'd say try that, and if that doesn't work and you're sure of the PWMs then you definitely have a hardware problem.
Reply With Quote
  #7   Spotlight this post!  
Unread 21-02-2010, 23:21
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: 4 Motor Tank Drive Problem

Quote:
Originally Posted by dotbran View Post
In that case, how about just doing two instances of tank drive (one for front, one for back) and setting everything to control both in parallel?
If the Open 4 Motor isn't working, two Open 2 Motors with the same four PWMs wouldn't open either.

Quote:
Or, are you sharing each pair of motors with each pair (L/R) of wheels?
That is the typical way to do it, with two motors on each gearbox.
Reply With Quote
  #8   Spotlight this post!  
Unread 22-02-2010, 22:33
Josh987's Avatar
Josh987 Josh987 is offline
That's what I say.
AKA: Josh
FRC #1565 (Think Tank Tech)
Team Role: Programmer
 
Join Date: Oct 2009
Rookie Year: 2008
Location: Hespeler, Canada
Posts: 17
Josh987 is an unknown quantity at this point
Re: 4 Motor Tank Drive Problem

Make sure you open the 4 motors in "begin" and that it is referenced properly in "teleop", "partial tasks", and "end" vi's. Also when running the code check on the drivers station to see if the PWM's are being sent a signal.
__________________
Charlieeeeee, Candy Mountain
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 vs. Omni Directional Drive jamie_1930 General Forum 9 24-01-2010 22:50
Problem with tank drive Mr. E NI LabVIEW 6 27-01-2009 16:59
Tank Drive Sauce Programming 1 05-01-2009 18:50
Tank Drive Idaman323 Programming 14 15-02-2005 09:01
tank drive Stormhammer Programming 11 29-01-2004 23:08


All times are GMT -5. The time now is 21:59.

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