Go to Post Why assume a full trophy case and spreading the message of FIRST (mentoring rookies) are mutually exclusive? Team 16 supported 6 rookies this season and earned 5 banners - I am equally proud of both. - Meredith Novak [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 07-02-2010, 00:30
MattD's Avatar
MattD MattD is offline
Registered User
AKA: Matthew Douglas
FRC #0228 (GUS Robotics)
Team Role: Alumni
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Indianapolis, IN
Posts: 185
MattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to behold
Send a message via AIM to MattD
Re: Xbox 360 Controller Rumble

I've been thinking about doing something like this with our joystick. The best way to go about it, as mentioned, would be to write a custom dashboard that communicates with the joystick using DirectInput.

The problem I see is that force feedback requires acquiring the input device in an exclusive cooperative level. I'm not too familiar with DirectInput, so I'm concerned that doing this would prevent the DriverStation process from reading input. Hopefully, the DS opens it in the non-exclusive cooperative level. Maybe someone more familiar with that could chime in on this...

Regardless, I'll probably be playing around with this over the next week or two.
__________________
GUS Robotics Team 228

2010 WPI Engineering Inspiration Award
2010 WPI Regional Champions (Thanks 230 & 20!)
2010 CT VEX Champions
2010 CT VEX Innovate Award
2009 QCC VEX Champions
2009 CT Motorola Quality Award
2007 CT J&J Sportsmanship Award
2006 CT Best Website Award
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2010, 15:05
DjMaddius's Avatar
DjMaddius DjMaddius is offline
Registered User
AKA: Matt Smith
FRC #2620 (Southgate Titans)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Southgate, Mi
Posts: 161
DjMaddius is an unknown quantity at this point
Re: Xbox 360 Controller Rumble

You have to use the Xinput library from microsoft to control the 360 controllers.

Do some research and you should find it no problem. Id give you the code i stewed up the other day but i dont have my laptop with me ATM and its on that.

Ill see if i can upload it tonight when i get home.



Anyways, if you check the microsoft website & do some research form google and you should be able to get it easy. (There are a few simple ways to control the motors. Very simple ways.)
But there is one hitch, the left motor (or possibly right. Forgot which exact one) seems to rumble a lot harder than the other one. One is soft and one is hard. You can use this to your advantage if you decide to have multiple rumble modes.

Last edited by DjMaddius : 09-02-2010 at 15:07.
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
Labview 8.6: Xbox 360 wired controller Questions Lucario231 NI LabVIEW 3 20-01-2010 18:03
Xbox 360 controller LabView CJBrick General Forum 12 17-12-2008 13:58
xbox 360 controller installation kuelin Technical Discussion 17 07-01-2008 19:43
Chicklet with MS XBOX 360 controller 354.FIRST Control System 2 19-04-2007 16:29
chicklet USB/xbox 360 controller spsteam1512 Control System 1 10-01-2007 23:14


All times are GMT -5. The time now is 13:45.

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