Log in

View Full Version : [FTC]: 4 wheel autonomous labview


stem12bfalk
08-10-2011, 11:51
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
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
Here's an image of what I mean in Labview.

PAR_WIG1350
11-10-2011, 18:02
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.