|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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
![]() |
|
#2
|
|||||
|
|||||
|
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.
|
|
#3
|
|||
|
|||
|
Re: 4 Motor Tank Drive Problem
Why would you need four motors for tank drive?
|
|
#4
|
||||
|
||||
|
Re: 4 Motor Tank Drive Problem
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. |
|
#5
|
|||
|
|||
|
Re: 4 Motor Tank Drive Problem
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 |
|
#6
|
||||
|
||||
|
Re: 4 Motor Tank Drive Problem
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.
|
|
#7
|
|||||
|
|||||
|
Re: 4 Motor Tank Drive Problem
Quote:
Quote:
|
|
#8
|
||||
|
||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |