4085
February 1, 2012, 11:25am
1
We are trying to find out how to separate tank drive so joystick 1 controls left drive and joystick 2 will control right drive. Unfortunately every Google search became useless and every mind numbing search through labveiw was a waste. We are currently using Logitech attack 3’s we also need to know how to program the buttons on each of the controllers.
THAT IS A MIGHTY PLEASE AND THANK YOU TO EVERYONE::rtm:: :]
Here’s a simple view:
For the Logitech (or other) game controllers, an easy approach is to:
Start with a default or current project.
Create Indicators for the Joystick 1 outputs of axes and buttons (you can also create a new Joystick on an unused USB port)
Plug the new game controller into the Driver Station and use the Setup tab to move it to the 1 slot
Run the project in debug mode from Robot Main
Open the Teleop front panel where the joystick Indicators are shown
Run the Driver Station to Enable the robot.
*]Watch the Teleop Indicators as you push the buttons and move the stick to see what maps to what
Omar
February 2, 2012, 8:52am
3
4085:
We are trying to find out how to separate tank drive so joystick 1 controls left drive and joystick 2 will control right drive. Unfortunately every Google search became useless and every mind numbing search through labveiw was a waste. We are currently using Logitech attack 3’s we also need to know how to program the buttons on each of the controllers.
THAT IS A MIGHTY PLEASE AND THANK YOU TO EVERYONE::rtm:: :]
Well you did not look under “Help” in LabVIEW to “Find Examples”
There is a Tank Drive example already done for you to try.
C:\Program Files\National Instruments\LabVIEW 2011\examples\FRC \Robot and Motor\Tank Drive\Tank Drive Example.lvproj
Check out all the many other “ready to run” examples for just about anything else you will need to do on your robot.