View Full Version : Tank Drive Joystick
thatoneguy23
05-02-2010, 10:12
Our Programmer is trying to put us into tank drive for our robot, but our second joystick is not responding to the program.
Could you guys give us some help?
Thanks
GEARmaster08
05-02-2010, 10:22
Did you make sure the Joystick is plugged into the correct USB port that you have it programmed for?
thatoneguy23
05-02-2010, 10:25
Yes, we have made sure.
GEARmaster08
05-02-2010, 12:23
What are you using for Programming?
hyperdude
05-02-2010, 16:30
We've had the same issue, programming in LabVIEW. Both joysticks are communicating with the laptop, but are not with the program.
When we loaded the bot with Java, both worked fine.
Tom Line
05-02-2010, 16:45
Ok, a list of questions:
1. Are you using game pads, or joysticks.
2. Have you cleaned out all the old joystick and drive references from the program?
3. Have you opened the joysticks in your Begin VI?
4. Have you confirmed that you are using the correct AXIS and wiring it into your motor set speed or the tank drive VI?
5. Have you connected indicators to the wire going from your joystick setref to your set motor speed in your teleoperated VI to confirm that your joystick is actually sending teh set motor speed VI a non-zero value?
6. Have you checked the diagnostics tab and noted any errors you might be seeing?
JohnFogarty
08-02-2010, 10:33
Ok, a list of questions:
1. Are you using game pads, or joysticks.
2. Have you cleaned out all the old joystick and drive references from the program?
3. Have you opened the joysticks in your Begin VI?
4. Have you confirmed that you are using the correct AXIS and wiring it into your motor set speed or the tank drive VI?
5. Have you connected indicators to the wire going from your joystick setref to your set motor speed in your teleoperated VI to confirm that your joystick is actually sending teh set motor speed VI a non-zero value?
6. Have you checked the diagnostics tab and noted any errors you might be seeing?
Tis a sad thing but just writing in the tank drive VI won't do it. I had to start from scratch to get tank drive to work
We had the same problem, we fixed it by placing pwm 2 to pwm 3.
Radical Pi
08-02-2010, 21:28
It could be that the classmate is assigning the 2nd joystick to some other slot. In the setup page there should be a box listing the joysticks. Make sure they are on 1 and 2
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.