Quote:
Originally Posted by propionate
Begin.vi
http://i.imgur.com/95HGp.png
Teleop.vi
http://i.imgur.com/bd4uG.png
Above are the links to the code for what is called "Tank Drive" (two joysticks controlling the robot at once, one for each side of the drive train).
You will need to discuss with your electrical team which PWM number they have used for the motors controlling your drive train, and what kind of speed controllers they used. Those two settings must be changed in the Begin.vi where the motors are "opened."
Notice in the teleop.vi that all I have done is add another joystick and change the robot drive VI to "Tank" instead of "Arcade."
If you have other questions, please ask.
|
Excuse me, but where do you get those terminals in the block diagram that are axis 2 (y)? I am searching everywhere and can't seem to find them.
For clarification, I am also a very new LabVIEW coder and still trying to figure things like that out. I just don't entirely know where to look or what the name of those things are.