Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FIRST Tech Challenge (http://www.chiefdelphi.com/forums/forumdisplay.php?f=146)
-   -   [FTC]: 4 wheel autonomous labview (http://www.chiefdelphi.com/forums/showthread.php?t=97700)

stem12bfalk 08-10-2011 11:51

[FTC]: 4 wheel autonomous labview
 
We are trying to do 4 wheel drive. However we are haveing problems running 4 wheels at the same time. Last year we were able to have 4 motors on the motor configuration this year we only appear to be able to have 2. Does any one know how to do 4 wheel drive during autonomous?

surly 11-10-2011 14:10

Re: [FTC]: 4 wheel autonomous labview
 
It should not make a difference whether you are writing your program for autonomous or teleop mode, in both cases you should be accessing your motors in the same way because its the same robot with the same wiring.

I think the best practice is to put both left motors on one controller and both right motors on the other controller. This way you can write to each set of motors as a single unit. Having only two writes to the motor controllers will be twice as fast as having four individual calls.

If you are using labview you can re-size the port constant that displays the name of your motor so that in can represent both motors on the controller.

surly 11-10-2011 14:13

Re: [FTC]: 4 wheel autonomous labview
 
1 Attachment(s)
Here's an image of what I mean in Labview.

PAR_WIG1350 11-10-2011 18:02

Re: [FTC]: 4 wheel autonomous labview
 
Physically wire the motor 2 per output and treat all 4 motors like 2 motors in code. This also frees an extra motor or servo controller.


All times are GMT -5. The time now is 19:00.

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