Go to Post YES!!!!!! I read this and jumped! This is awesome and amazing! Thank you so much Dean Kamen and FIRST!!! YOU ARE AMAZING! - torihoelscher [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 14-02-2010, 19:36
dKnight dKnight is offline
Registered User
FRC #1640
 
Join Date: Jan 2009
Location: Downingtown
Posts: 1
dKnight is an unknown quantity at this point
POV Hat for game controllers

We're using the xbox 360 controller for our robot this year, and it would be very useful if we could use the POV hat. However, under the WPI's joystick vi, it only returns values of -1 and 1 for either the left or right side, and not the angles 45, 90, 180, etc that NI's vi uses. Could I use NI's vi with the robot code, or is that not possible/easy. And if anyone knows how to use the POV hat with WPI's vi, that would be good too. Oh, and if there's already a post for a solution to this, I couldn't find it, and I would appreciate a link to it. Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2010, 22:05
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: POV Hat for game controllers

According to [Mark McLeod]'s post here, the POV hat uses two axes (he says axes 5 & 6). So you're seeing the values for one of the axes but not the other. I haven't tried myself, but I would suspect that the 45* would be a non-0 value on both axes.

--Ryan
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Teams using game/usb controllers zackcool123 General Forum 1 06-02-2009 18:20
Where can we get PS2 type game controllers with serial ports? waialua359 Control System 12 25-01-2006 22:33
Free Hat for Championship Match Lists! Mr. Lim Championship Event 4 23-04-2005 09:39
"Cool" Hat or Punk Hat? Eugenia Gabrielov Chit-Chat 17 02-03-2005 21:59


All times are GMT -5. The time now is 03:54.

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