|
Re: four-motor tank drive control
Any particular reason you don't combine and simplify everything into one Open 4 Motor drive?
In Teleop.vi you should not be Opening your xBox joystick 50 times a second.
You are Opening the same joystick over and over again confusing the system.
Just use Joystick 0 in Teleop.vi just like you are using Right Motors.
Begin.vi is only called once and is used to open (once) all the devices you will be using elsewhere.
Teleop.vi gets called 50 times a second to handle the constantly changing commands coming from the drivers.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 24-02-2016 at 21:20.
|