Go to Post You're not crazy. Eleven is the new seven. - Michael Corsetto [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 19-03-2010, 20:46
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: XBOX Controller Triggers is an axis but which one?

Tanner is right, but if he wasn't clear enough, this is how we did it:

-In your teleop VI, go to the block diagram and wire in two "Unbundle by Name" blocks (one for the axes and one for the buttons).

-Drag the bottom handle of the Unbundle blocks so every button and axis can be read.

-Go to your teleop VI front panel, and drop in one Numeric Indicator for each axis, and one LED for each button. Label them Axis1, Axis2, Button1, etc.

- On the block diagram, wire each button and axis to the corresponding indicator.

- Make a drawing of the controller.

- Deploy your code with the Play button, press each button and axes. Make a note of which indicator does what when you operate the controller. Use this to label your drawing.

- Once your drawing is fully labeled, you can start hooking up the axes and buttons to what you want them to control.


I know this is a pain, but this is how we did it. I have our drawing so I can't tell you which is which, but doing this process only takes 15 minutes or so. good luck.
__________________
-
An ounce of perception is worth a pound of obscure.
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xbox Controller Team1710 FRC Control System 9 30-06-2010 13:17
Which axis for accelerometer? bitsoglass NI LabVIEW 1 23-01-2009 17:42
Xbox Controller? ScottieDo555 Technical Discussion 24 29-01-2008 16:24
Which is better? (Xbox 360 or PS3) 842.001 Games/Trivia 29 11-11-2006 16:06
Do the Dew... but which one? OneAngryDaisy Chit-Chat 13 16-06-2003 16:17


All times are GMT -5. The time now is 23:27.

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