Go to Post Just think of the deadline as your six week deadline for FIRST, just when you think you can't do it, you are amazed by what you can do. - JackN [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 10-06-2003, 21:59
JLambert's Avatar
JLambert JLambert is offline
Registered User
#0151 (Wild Cards)
 
Join Date: Jan 2003
Location: Nashua, NH
Posts: 49
JLambert is an unknown quantity at this point
Send a message via ICQ to JLambert Send a message via AIM to JLambert Send a message via Yahoo to JLambert
Lightbulb Self Calibrating Joysticks

I'm honestly not sure if anyone's ever tried this, or if anyone else even thinks it could be a good idea, but I just want some feedback on it in general.

Basically, this all started with a PS2...

My girlfriend was playing GTAIII on her PS2, but when she turned it on, she was running in circles. I told her immediately it was because she had left the control upside down. She asked me why anyone would want the sticks to center when you turned on the system. I wasn't totally sure, but I told her it was problaby to make sure they always started in the middle. She said, and I quote, "too bad our bot doesn't do that". And so began an idea...

The attached code is what I came up with. Ignore the "factoring" part, as that was something that my team is using to test out a new drive system. Any thoughts on it would be greatly appreciated.

I know the obvious downfall is the same as with the PS2 controller, if someone pushes the stick forward, and turns on the bot, it will jump. I added in a way to "recalibrate" the sticks, but that would still be after the bot initially runs amok and crashes into someone's kneecaps.
Attached Files
File Type: zip self_calib.zip (8.9 KB, 62 views)
__________________
Justin Lambert
02-03: Programmer Team #151
 


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
Team 524 has Team 362's spare joysticks from last year. archiver 2001 0 24-06-2002 02:36
pbasic question archiver 2001 5 23-06-2002 23:50
Could use some help with joysticks . . . archiver 2001 5 23-06-2002 23:36
Joysticks archiver 2001 2 23-06-2002 23:33
Calibrating speed controllers and joysticks thedillybar Technical Discussion 4 11-02-2002 13:24


All times are GMT -5. The time now is 20:28.

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