Go to Post the entire arena broke into applause when that first robot climbed that first robot ramp. - RoboMom [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-02-2012, 11:25
4085's Avatar
4085 4085 is offline
Technical Difficulties
AKA: Sebastian Brosious
FRC #4085 (Technical Difficulties)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Reynoldsburg, Ohio
Posts: 14
4085 is an unknown quantity at this point
Joystick issues

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
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2012, 11:47
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Joystick issues

Here's a simple view:


For the Logitech (or other) game controllers, an easy approach is to:
  1. Start with a default or current project.
  2. Create Indicators for the Joystick 1 outputs of axes and buttons (you can also create a new Joystick on an unused USB port)
  3. Plug the new game controller into the Driver Station and use the Setup tab to move it to the #1 slot
  4. Run the project in debug mode from Robot Main
  5. Open the Teleop front panel where the joystick Indicators are shown
  6. Run the Driver Station to Enable the robot.
  7. Watch the Teleop Indicators as you push the buttons and move the stick to see what maps to what
Attached Thumbnails
Click image for larger version

Name:	NewJoystick.jpg
Views:	24
Size:	104.5 KB
ID:	11674  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 01-02-2012 at 12:00.
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2012, 08:52
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: Joystick issues

Quote:
Originally Posted by 4085 View Post
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
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.
__________________
Omar
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:37.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi