View Single Post
  #12   Spotlight this post!  
Unread 08-02-2010, 22:51
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: Logitech or Xbox 360 Controllers?

I've been using a Logitech gamepad for my home programming/testing (i.e. the 'bot or the cRIO aren't around). But it's a wireless one and I don't think they'd let us use a wireless joystick for competition, right? I admit I haven't read that section of the rules for this year, but from previous years' experience, unauthorized wireless stuff is verboten.

... so I donated an Xbox "clone" controller (GameStop branded) for the team to play with ...

I setup a simple VI to read the joystick axis and plot it out using the joystick opens/gets from a different pallet for when the joystick is on a local USB port (see attached pics)

I've not only found that the centering is sloppy and off center, but also the upper and lower right-hand-side don't go out to a full (1,1) or (1,-1) position.

... and while I do see the POV on my local/PC test VI ... we don't see the POV when the 360 controller is hooked up to the DS and we open it from the cRIO.

I'll probably go look into a wired Logitech gamepad. Thanks for the tips.
Attached Thumbnails
Click image for larger version

Name:	PC-Joystick.jpg
Views:	119
Size:	126.5 KB
ID:	8571  Click image for larger version

Name:	PC-Joystick2.jpg
Views:	97
Size:	149.1 KB
ID:	8572  
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics