Go to Post OooooohhH! OOOOooohh! Can I start the 2009 thread yet? Huh? Can I? Can I? - dlavery [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 Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
  #46   Spotlight this post!  
Unread 23-01-2007, 17:39
Denman625's Avatar
Denman625 Denman625 is offline
Team Driven Webmaster
AKA: Denny
FRC #1730 (Team Driven)
Team Role: Webmaster
 
Join Date: Jul 2006
Rookie Year: 2005
Location: Lee's Summit
Posts: 27
Denman625 is an unknown quantity at this point
Send a message via AIM to Denman625
Re: How the heck do you use an XBOX360 controller with the chicklet??

we had the same idea about a wii controller... that would be so fun :-)
__________________
2006 Denver Regional Website Award
2006 Denver Regional All-Star Rookie Award
2006 Championship Highest Rookie Seed (Galileo Division)
2007 Boilermaker Regional Winner
2007 Rockwell Automation Innovation in Control Award
Team Driven's Site
Reply With Quote
  #47   Spotlight this post!  
Unread 23-01-2007, 18:44
Choi9111's Avatar
Choi9111 Choi9111 is offline
(^_^)v I ROCK!!!!
AKA: BAKA!!!!!!!!!!!!!!!! (Tomo) >_<
FRC #0932 (Leviathan)
Team Role: Driver
 
Join Date: Jan 2007
Rookie Year: 2003
Location: Oklahoma
Posts: 80
Choi9111 is on a distinguished road
Re: How the heck do you use an XBOX360 controller with the chicklet??

Quote:
Originally Posted by AdamHeard View Post
Well... your problem might be that you are basing your statements on speculation; Mike is basing his on something a little more concrete, like the facts.

I ordered chicklets on day one because my team was planning on hard wiring the xbox controller anyway, and this allowed us to use unmodified controllers which saves a lot of time, and also allows the process of finding a spare at a regional much easier.

All the kids on our team unanimously agreed that an xbox controller is more familiar to them than joysticks; The freedom of movement Mike mentioned would also be very beneficial. I figure if people can be uber snipers in Halo 2 and Call of Duty with it, why can't we drive a robot with it.

Also, if you have nothing positive to say about something Mike put so much hard work into (thank you mike, you allowed our electronics to spend time pursuing higher goals, rather than hours of repetitive yet easy soldering) then I ask you to simply stop posting in this thread.

Another thing that bothered me a little bit. They don't use joysticks to control autonomous planes; They wouldn't be autonomous then.
So is there even a way to use the xbox360 controller to control our robot? cuz we in our class have been talking about it for a while...
__________________
I AM Leviathan...only not as green and slimy...and i only have 4 limbs not 8...wait technically im not leviathan at all...>_<,
Reply With Quote
  #48   Spotlight this post!  
Unread 23-01-2007, 23:29
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: How the heck do you use an XBOX360 controller with the chicklet??

Quote:
Originally Posted by Choi9111 View Post
So is there even a way to use the xbox360 controller to control our robot? cuz we in our class have been talking about it for a while...


Yes, The adaptor is called the USB Chicklet. It is available from IFI.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #49   Spotlight this post!  
Unread 24-01-2007, 11:36
Choi9111's Avatar
Choi9111 Choi9111 is offline
(^_^)v I ROCK!!!!
AKA: BAKA!!!!!!!!!!!!!!!! (Tomo) >_<
FRC #0932 (Leviathan)
Team Role: Driver
 
Join Date: Jan 2007
Rookie Year: 2003
Location: Oklahoma
Posts: 80
Choi9111 is on a distinguished road
Re: How the heck do you use an XBOX360 controller with the chicklet??

Quote:
Originally Posted by Mike Copioli View Post
Yes, The adaptor is called the USB Chicklet. It is available from IFI.
ya duh i know that...i was talking more about programming wise... thanks for making me seem dumb.
__________________
I AM Leviathan...only not as green and slimy...and i only have 4 limbs not 8...wait technically im not leviathan at all...>_<,
Reply With Quote
  #50   Spotlight this post!  
Unread 24-01-2007, 14:35
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: How the heck do you use an XBOX360 controller with the chicklet??

Quote:
Originally Posted by Choi9111 View Post
ya duh i know that...i was talking more about programming wise... thanks for making me seem dumb.
Then the answer is still yes. If the inputs are to sensitive, then you should scale them. For example, if you desire more control over the lower 1/3 of the throttle, just write a function that scales the input so the lower 1/3 of the output to the PWM is spread over a larger fraction of the joystick movement.

lets say you want more control over the output range 127-168. Scale the input by dividing the actual joystick value by a constant greater than 1 or multiply the joy value by a constant less than 1. You will need a conditional to evaluate if the joystick is <=168 in this example. If the condition is true you would apply the scaling to the input value.

#define SCALING_FACTOR .8

If (joy <= 168 && > 0)
{
unsinged char pwm;
pwm = scale(joy);
}

unsigned char scale(unsigned char joy_val)
{
new_pwm = joy_val * SCALING_FACTOR;
return new_pwm;
}

Now this does not account for the reverse values but you get the idea. This is just an example and probably wont work.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions

Last edited by Mike Copioli : 24-01-2007 at 21:30.
Reply With Quote
  #51   Spotlight this post!  
Unread 24-01-2007, 15:45
Choi9111's Avatar
Choi9111 Choi9111 is offline
(^_^)v I ROCK!!!!
AKA: BAKA!!!!!!!!!!!!!!!! (Tomo) >_<
FRC #0932 (Leviathan)
Team Role: Driver
 
Join Date: Jan 2007
Rookie Year: 2003
Location: Oklahoma
Posts: 80
Choi9111 is on a distinguished road
Re: How the heck do you use an XBOX360 controller with the chicklet??

Thanks! i think ill try it out!
__________________
I AM Leviathan...only not as green and slimy...and i only have 4 limbs not 8...wait technically im not leviathan at all...>_<,
Reply With Quote
  #52   Spotlight this post!  
Unread 31-01-2007, 09:07
Mike Mahar Mike Mahar is offline
Registered User
FRC #0138
 
Join Date: Jan 2007
Location: Amherst, NH
Posts: 64
Mike Mahar will become famous soon enough
Re: How the heck do you use an XBOX360 controller with the chicklet??

Quote:
Originally Posted by Mike Copioli View Post
That device is not supported. Please see the list of supported devices in the user manual.

.
I don't know much about game controllers. Does a 3rd party Xbox360 look different from a Microsoft Xbox360 controller? We have a Gamestop Xbox360 controller and the chicklet doesn't seem to recognize it.
Reply With Quote
  #53   Spotlight this post!  
Unread 31-01-2007, 10:43
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: How the heck do you use an XBOX360 controller with the chicklet??

Quote:
Originally Posted by Mike Mahar View Post
I don't know much about game controllers. Does a 3rd party Xbox360 look different from a Microsoft Xbox360 controller? We have a Gamestop Xbox360 controller and the chicklet doesn't seem to recognize it.
The Chicklet will only recognize a Microsoft brand X-box 360 controller. If you reference the user manual, under supported devices, the device manufacturer and name must match the table of supported devices exactly. After market and older versions of devices may not be supported. Basically if you buy an OTS microsoft X-box 360 controller you should not have any issues.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #54   Spotlight this post!  
Unread 31-01-2007, 11:50
Mike Mahar Mike Mahar is offline
Registered User
FRC #0138
 
Join Date: Jan 2007
Location: Amherst, NH
Posts: 64
Mike Mahar will become famous soon enough
Re: How the heck do you use an XBOX360 controller with the chicklet??

Quote:
Originally Posted by Mike Copioli View Post
The Chicklet will only recognize a Microsoft brand X-box 360 controller. If you reference the user manual, under supported devices, the device manufacturer and name must match the table of supported devices exactly. After market and older versions of devices may not be supported. Basically if you buy an OTS microsoft X-box 360 controller you should not have any issues.
Thanks, Mike, for clarifying that. It might be a good idea to put a note in the User Manual that says the manufacturer has to match exactly. Also, you state the manufacturer for all of the other controllers but you just state Xbox and Xbox360 for the Microsoft controllers.

Since I didn't know anything about game controllers before this, I assumed that Xbox360 meant "or compatible". Oh, well, live and learn. I guess I'll go get the Ligiteck game pad and use that.
Reply With Quote
  #55   Spotlight this post!  
Unread 31-01-2007, 12:51
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Re: How the heck do you use an XBOX360 controller with the chicklet??

Get a halo god to drive your robot. They are pros with the controllers....Have you every actually played halo on level 10 sensitivity on tiny tap moves the sights across the screen.

But then again scaling is probally easier then Halo bootcamp.
Reply With Quote
  #56   Spotlight this post!  
Unread 31-01-2007, 15:33
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: How the heck do you use an XBOX360 controller with the chicklet??

[
Quote:
Originally Posted by Mike Mahar View Post
Also, you state the manufacturer for all of the other controllers but you just state Xbox and Xbox360 for the Microsoft controllers.

Uhhhhh? hu? I want you to think about that last statement. The key word is MICROSOFT. You do realize that Microsoft is a manufacturer? I dont mean to sound sarcastic. But I find it funny that you mention the manufacturer in a sentence questioning why we don't state the manufacturer.

Anyway I got a good laugh. You are right we do need to emphasize that it has to be the exact manufacturer. We will update this.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #57   Spotlight this post!  
Unread 31-01-2007, 16:33
Mike Mahar Mike Mahar is offline
Registered User
FRC #0138
 
Join Date: Jan 2007
Location: Amherst, NH
Posts: 64
Mike Mahar will become famous soon enough
Re: How the heck do you use an XBOX360 controller with the chicklet??

Quote:
Originally Posted by Mike Copioli View Post
[

Quote:
Originally Posted by Mike Mahar View Post
Also, you state the manufacturer for all of the other controllers but you just state Xbox and Xbox360 for the Microsoft controllers.

Uhhhhh? hu? I want you to think about that last statement. The key word is MICROSOFT. You do realize that Microsoft is a manufacturer? I dont mean to sound sarcastic. But I find it funny that you mention the manufacturer in a sentence questioning why we don't state the manufacturer.

Anyway I got a good laugh. You are right we do need to emphasize that it has to be the exact manufacturer. We will update this.
__________________
Well, by the time I wrote that sentence, I did know that it had to be the exact manufacturer. Perhaps I should have said: " Also, you state the manufacturer for all of the other controllers but you just state Xbox and Xbox360 for those controllers and assume that everyone would know that they must come from Microsoft." That was the sense of what I was trying to say.

PC controllers seem to come with their own drivers so it is logical to assume that each manufacturer is going to be different in some way. The makers of 3rd party Xbox360 controllers would be motivated to make their controllers behave exactly like the Microsoft versions. Or, at least I assumed that they would. But, being USB devices they would have different vender IDs and product IDs. So, in retrospect, it is not surprising that your device would rely on this, or other, informaiton to configure itself and not support 3rd party controllers.
Reply With Quote
  #58   Spotlight this post!  
Unread 31-01-2007, 19:58
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: How the heck do you use an XBOX360 controller with the chicklet??

Quote:
Originally Posted by Mike Mahar View Post
Well, by the time I wrote that sentence, I did know that it had to be the exact manufacturer. Perhaps I should have said: " Also, you state the manufacturer for all of the other controllers but you just state Xbox and Xbox360 for those controllers and assume that everyone would know that they must come from Microsoft." That was the sense of what I was trying to say.

PC controllers seem to come with their own drivers so it is logical to assume that each manufacturer is going to be different in some way. The makers of 3rd party Xbox360 controllers would be motivated to make their controllers behave exactly like the Microsoft versions. Or, at least I assumed that they would. But, being USB devices they would have different vender IDs and product IDs. So, in retrospect, it is not surprising that your device would rely on this, or other, informaiton to configure itself and not support 3rd party controllers.
I apologize if I seemed to brash. Actually I checked the user manual and you are correct it does have the manufacturer listed for everything except Microsoft. It's the IFI web sight that states the manufacturer for the X-box and 360. And yes you are also correct in your statement about PIDs. Each company has there own VID and PID. We use the PID for recognition purposes. The Chicklet will try to connect to ANY HID device (red orange red orange) but it will not load the drivers if it does not see the PID. If there is still a need for the Chicklet next year we will be releasing a version that will connect to almost any HID device and the chicklet will use the device descripter to create drivers that are unique to each device.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #59   Spotlight this post!  
Unread 17-02-2008, 12:43
Trav-O's Avatar
Trav-O Trav-O is offline
THE PROGRAMINATOR
AKA: Travis
FRC #0510 (Hawaii 5-1-0)
Team Role: Tactician
 
Join Date: Jan 2008
Rookie Year: 2004
Location: Richmond
Posts: 38
Trav-O is infamous around these partsTrav-O is infamous around these parts
Re: How the heck do you use an XBOX360 controller with the chicklet??

we definitley are storing our chicklet in an altoids box lined with that pink foam stuff...

this cant damage it, will it?


ATTACK 3 = PWNAGE!!!!
__________________
Be safe!!! OR YOU MIGHT GET INJURIES!
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
How did you use the FP motors? Validius Motors 25 02-03-2005 01:30
How to use timer in the controller Thedarkmaster Programming 5 09-01-2005 12:48
how do you use the listen to site? Alex Cormier Chit-Chat 5 15-02-2004 21:33
Can you use PWMs (Red or Blue) with the edubot controller? Dr.Bot Robotics Education and Curriculum 3 04-12-2003 23:51
Can you use the spikes with the globe motors? Caleb Fulton Electrical 1 15-02-2003 20:13


All times are GMT -5. The time now is 05:55.

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