Go to Post If you ever find yourself thinking that you are the most brilliant person in a situation, you are doing something wrong. - EricVanWyk [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2007, 15:36
haywirerobotics haywirerobotics is offline
Registered User
FRC #1569 (Haywire)
 
Join Date: Jan 2006
Location: Pocatello, Idaho
Posts: 43
haywirerobotics is on a distinguished road
Chicklet Help

Ok, We jut got our chicklet, and we are having some trouble getting return values. We Can't figure out variable names for a psII controller. The only thing I could think would be mabey it isn't supported... FYI I know just about nothing beyond basic c code.

Thank you in advance for your help
__________________
Haywire Robotics...
KISS
(Keep It Simple Stupid!)
  #2   Spotlight this post!  
Unread 03-02-2007, 18:26
ebmonon36's Avatar
ebmonon36 ebmonon36 is offline
Registered User
AKA: Eric Bredehoeft
FRC #1018 (Robodevils)
Team Role: Mentor
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Indianapolis, IN
Posts: 428
ebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud of
Send a message via AIM to ebmonon36
Re: Chicklet Help

Your assumption about it being not supported would be correct as shown here:
http://www.ifirobotics.com/usb-chick...rted%20Devices
  #3   Spotlight this post!  
Unread 03-02-2007, 19:24
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Chicklet Help

However, just because it isn't supported doesn't mean that it won't work. If you're using one of those cheap PS2->USB adapters you can find on eBay (or similar), they support the standard USB HID protocol, so there's no reason that it shouldn't work. I would expect that one stick will be mapped to p1_x and p1_y, another stick to be mapped to p1_aux and p1_wheel, and four of the buttons (probably the four you'd expect... triangle, square, circle, and x) to be mapped to p1_sw_trig, p1_sw_top, p1_sw_aux1, p1_sw_aux2 (in no particular order). This is just based off my experience with PS2->USB under Windows, but if it's a standard USB HID, then I don't know of any reason that it shouldn't work with the Chicklet.

(Attention Mike Copioli: feel free to flog me if I'm off-base here.)
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #4   Spotlight this post!  
Unread 04-02-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: Chicklet Help

Quote:
Originally Posted by jgannon View Post
However, just because it isn't supported doesn't mean that it won't work. If you're using one of those cheap PS2->USB adapters you can find on eBay (or similar), they support the standard USB HID protocol, so there's no reason that it shouldn't work. I would expect that one stick will be mapped to p1_x and p1_y, another stick to be mapped to p1_aux and p1_wheel, and four of the buttons (probably the four you'd expect... triangle, square, circle, and x) to be mapped to p1_sw_trig, p1_sw_top, p1_sw_aux1, p1_sw_aux2 (in no particular order). This is just based off my experience with PS2->USB under Windows, but if it's a standard USB HID, then I don't know of any reason that it shouldn't work with the Chicklet.

(Attention Mike Copioli: feel free to flog me if I'm off-base here.)
No fologging necessary. But the ps2 controller will not work with the Chicklet. It may connect, but there are no drivers for that 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
  #5   Spotlight this post!  
Unread 05-02-2007, 23:20
Andrew Schreiber Andrew Schreiber is offline
Data Nerd
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,056
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Chicklet Help

Are you talking about the ACTUAL ps2 controller or just the ps2 style controller by Logitech?

Either way, It would seem to me that all the chicklet is doing is reading the signals and sending them to the OI. Of course, I could be very wrong.

My advice, print out the different inputs you would normally get and press buttons, if nothing happens its totally unsupported. If you get readings, then map the thing out and there you go...

Again, I could be very wrong
  #6   Spotlight this post!  
Unread 06-02-2007, 08:12
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: Chicklet Help

Quote:
Originally Posted by Damien1247 View Post
Are you talking about the ACTUAL ps2 controller or just the ps2 style controller by Logitech?

Either way, It would seem to me that all the chicklet is doing is reading the signals and sending them to the OI. Of course, I could be very wrong.

My advice, print out the different inputs you would normally get and press buttons, if nothing happens its totally unsupported. If you get readings, then map the thing out and there you go...

Again, I could be very wrong
It's not quite that simply. USB is a communication protocol. It is not like RS232 were the data is sent and recieved with a simple bit stream. USB has multiple layers and device classes. HID is one of these classes. HID is what the Chicklet supports. Inside the HID spec there are definitions as to how the data must be structured and how to decode such data. In order to connect to the device, these criteria must be met. Once you are connected to the device, you can request information about that device such as the devices PID(product ID) or VID(vendor ID) each ID is unique to the manufacturer and device model. If the ps2 controller is HID, then we could write drivers to support it. The Chicklet would have to be sent back to us as this is not something the user could do.
__________________
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
Closed Thread


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
USB Chicklet SleeveofWizard Control System 11 28-01-2007 22:45
chicklet carbuff Control System 1 27-01-2007 13:51
Fried chicklet karin l. Control System 5 24-01-2007 00:07
Subforum suggestion: USB Chicklet discussion Billfred CD Forum Support 3 17-01-2007 22:56
chicklet USB/xbox 360 controller spsteam1512 Control System 1 10-01-2007 23:14


All times are GMT -5. The time now is 10:43.

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