Go to Post Each poster can bring respect to the topic, whether agreeing with it or not. - JaneYoung [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 11-02-2007, 10:45
robobrain0101's Avatar
robobrain0101 robobrain0101 is offline
Registered User
FRC #1054 (The Knightmares)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2003
Location: Buckingham, Virginia
Posts: 10
robobrain0101 is an unknown quantity at this point
Send a message via AIM to robobrain0101
Last Minute Programming Failures

Does the usb-chicklet work when your robot is programmed with the default code?
  #2   Spotlight this post!  
Unread 11-02-2007, 10:55
esquared's Avatar
esquared esquared is offline
Keeps saying 3-2-1-Rush...
AKA: Angry Eric
no team (Volunteer!)
Team Role: Mascot
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Boston, MA
Posts: 192
esquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond repute
Re: Last Minute Programming Failures

Yes.
The chicklet just makes a USB joystick look like the oldschool gameport sticks.
  #3   Spotlight this post!  
Unread 11-02-2007, 10:59
robobrain0101's Avatar
robobrain0101 robobrain0101 is offline
Registered User
FRC #1054 (The Knightmares)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2003
Location: Buckingham, Virginia
Posts: 10
robobrain0101 is an unknown quantity at this point
Send a message via AIM to robobrain0101
Re: Last Minute Programming Failures

even though we are using a XBOX360 controller?
  #4   Spotlight this post!  
Unread 11-02-2007, 14:30
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: Last Minute Programming Failures

Quote:
Originally Posted by robobrain0101 View Post
even though we are using a XBOX360 controller?
Yes. All the USB Chicklet does is map your controller's axes and buttons to the appropriate variables (p1_x, p1_y, p1_wheel, p1_aux, p1_sw_top, etc.).

Only time it gets odd is if you've picked a configuration setting such that you're using more than 4 buttons, in which case you'll need to write code to check if the most significant bits of p1_wheel and/or p1_aux are set, since this is how the chicklet encodes the higher-numbered buttons.
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
pic: last minute cheeseholing Veselin Kolev Robot Showcase 8 22-02-2005 19:25
A few last minute questions Jesse Control System 1 21-02-2004 19:31
Last-Minute changes? Iain McLeod General Forum 9 09-04-2003 02:51
Last Minute Mouse Robots Hamster_Power58 Rules/Strategy 1 12-03-2002 14:32
Last minute 'can we use'? Radiant Phoenix Kit & Additional Hardware 3 20-02-2002 19:02


All times are GMT -5. The time now is 12:30.

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