Go to Post GP makes us all on one and the same team. They understand that in order for any of us to succeed, we need to help out where we can. It is why you will see so many other teams helping a team with a failing robot, buggy software, team strategy, etc. - Al Skierkiewicz [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
  #1   Spotlight this post!  
Unread 11-01-2007, 18:02
Cowmankoza's Avatar
Cowmankoza Cowmankoza is offline
KoZa
AKA: Matthew Koza
FRC #1251 (The Tech Tigers)
Team Role: Operator
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Florida
Posts: 134
Cowmankoza has a spectacular aura aboutCowmankoza has a spectacular aura about
Send a message via AIM to Cowmankoza
Re: How the heck do you use an XBOX360 controller with the chicklet??

The PS3 controller could not be used anyways, since it has a built in battery pack, while even tho one would argue that its getting its power thru usb, you are inadvertantly using a second power source, sorry guys, no 6-axis for you
__________________
Team 1251 The Techtigers

2008 UCF Regional Champs thanks to 233 and 86
2008 UCF Regional GM Industrial Design Award

2007 Palmetto Regional finalists thanks to 1626 and 1758
2007 Palmetto Regional Motorola Quality Award
2007 UCF Regional Champs thanks to 1270 and 86
2007 UCF Regional GM Industrial Design Award
2006 Palmetto Regional Champs thanks to 11 and 247
2006 UCF Regional Semifinalist thanks to 86 and 710

2005 Palmetto Regional finalist thanks to 25 and 301
2005 Palmetto Regional Xerox Creativity Award
2005 UCF Regional finalists thanks to 845 and 1270
2005 UCF Regional Judges Award
2004 UCF Regional Rookie All-star Award (The real winner)
Reply With Quote
  #2   Spotlight this post!  
Unread 11-01-2007, 20:50
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Re: How the heck do you use an XBOX360 controller with the chicklet??

Hey, we are not playing GTA 4 here, we are DRIVING A ROBOT! If your game controller was SOOOO hot, then why wouldn't the military use it in a tank? Oh yeah, maybe a 1 millimeter thumb movement is not stable enough to drive $60 million worth of equipment? Or how bout why they don't use it in controlling autonomous planes? Hmmm, looks like they use joysticks too.

"Woops my thumb slipped and I dropped the floatie" will be common words.

I have grown up with game controllers, me and 95% of our team agrees that a joystick is far superior to a game controller. Like I said before, the game controller was designed to emulate a real joystick, so just use the joystick and stop thinking you are playing a video game.
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).
Reply With Quote
  #3   Spotlight this post!  
Unread 12-01-2007, 11:34
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: 454
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 amateurrobotguy View Post
If your game controller was SOOOO hot, then why wouldn't the military use it in a tank?
I'm curious to know where you are getting your information from?


Quote:
Originally Posted by amateurrobotguy View Post
Oh yeah, maybe a 1 millimeter thumb movement is not stable enough to drive $60 million worth of equipment?
1mm of movement? Have you actually used a game pad?

Quote:
Originally Posted by amateurrobotguy View Post
Or how bout why they don't use it in controlling autonomous planes? Hmmm, looks like they use joysticks too.
Again, were are you getting your "Facts" from? It makes sense to use a joystick to fly an autonomous plane. It is the closest thing to the controls in an actual military aircraft. Need I remind you a gamepad has two joysticks with, contrary to your opinion, almost an inch of travel.

I believe you have the right to develope your own opinion. I would suggest it be based on actual experience and facts.
__________________
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
  #4   Spotlight this post!  
Unread 14-01-2007, 01:15
Thorcat Thorcat is offline
Registered User
FRC #1540
 
Join Date: Jan 2007
Location: Portland, OR
Posts: 5
Thorcat is an unknown quantity at this point
Re: How the heck do you use an XBOX360 controller with the chicklet??

A little off-topic, but could you use one of the new Xbox360 controllers for windows? I think this would be the coolest soloution, if only for a demo during a school assembly. Has anybody tried this, or is there some obvious reason that it can't work?
Reply With Quote
  #5   Spotlight this post!  
Unread 14-01-2007, 03:38
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,508
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: How the heck do you use an XBOX360 controller with the chicklet??

Quote:
Originally Posted by amateurrobotguy View Post
Hey, we are not playing GTA 4 here, we are DRIVING A ROBOT! If your game controller was SOOOO hot, then why wouldn't the military use it in a tank? Oh yeah, maybe a 1 millimeter thumb movement is not stable enough to drive $60 million worth of equipment? Or how bout why they don't use it in controlling autonomous planes? Hmmm, looks like they use joysticks too.

"Woops my thumb slipped and I dropped the floatie" will be common words.

I have grown up with game controllers, me and 95% of our team agrees that a joystick is far superior to a game controller. Like I said before, the game controller was designed to emulate a real joystick, so just use the joystick and stop thinking you are playing a video game.
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 17-01-2007, 19:25
Dills Dills is offline
Registered User
FRC #1522 (Defenders Of The Multiverse)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Mechanicsville, Virginia
Posts: 1
Dills is an unknown quantity at this point
Re: How the heck do you use an XBOX360 controller with the chicklet??

to answer the question of why use a 360 controller instead of a joystick, our robot has 3 degrees of freedom and a manipulator (which would otherwise take 3 joysticks)
Reply With Quote
  #7   Spotlight this post!  
Unread 19-01-2007, 00:53
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,508
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: How the heck do you use an XBOX360 controller with the chicklet??

We calibrated the controller for our 2006 robot today and it was awesome to drive. It was much easier for my teammates and me to control than joysticks.
Reply With Quote
  #8   Spotlight this post!  
Unread 19-01-2007, 12:14
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: 454
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 AdamHeard View Post
We calibrated the controller for our 2006 robot today and it was awesome to drive. It was much easier for my teammates and me to control than joysticks.
That's good to hear. I'm glad to see someone posting feed back about the Chicklet.
__________________
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
  #9   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
  #10   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: 454
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
  #11   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
  #12   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: 454
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
  #13   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
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 19:14.

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