OCCRA
Go to Post Gracious Professionalism does not take a holiday. - JaneYoung [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-24-2002, 02:40 AM
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,070
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Joystick problems

Posted by Andrew wyatt at 03/21/2001 9:05 PM EST


Other on team #524, Alpha Omega Robotics, from South High School.



Has any other team has problems with their joysticks?

We used the stock CH flightstick controllers, and we had nothing but difficulties with them.

Out of the three joysticks we had after the second week, two of them experienced a strong tendency to jump all the way to 255 (full ahead) when pulled all the way to the rear(which should be 0).

When this happened under load, our robot went full reverse, then full foreward in the space if about a half second, shearing the 1/8" pins holding the couplers to the drive shaft.

we had to replace a joystick when we got to the competetion, because of corrosion from the condensation in the box.

Did anyone else have similar problems?

__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-24-2002, 02:40 AM
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,070
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Check Your Math .........

Posted by Ed Sparks at 03/21/2001 9:30 PM EST


Engineer on team #34, The Rockets, from Bob Jones High / New Century High and DaimlerChrysler.


In Reply to: Joystick problems
Posted by Andrew wyatt on 03/21/2001 9:05 PM EST:



I've seen this sort of thing before but it was related to the math in our software that controls the motor controller. Interger math can be cruel ..... Check your software and use MIN MAX statements.


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
Reply With Quote
  #3   Spotlight this post!  
Unread 06-24-2002, 02:40 AM
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,070
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: Check Your Math .........

Posted by Matt Leese at 03/21/2001 9:51 PM EST


Other on team #73, Tigerbolt, from Edison Technical HS and Alstom & Fiber Technologies & RIT.


In Reply to: Check Your Math .........
Posted by Ed Sparks on 03/21/2001 9:30 PM EST:



To elaborate more on what was said, the problem there would be that the Basic Stamp controller only supports positive math. That causes values to wrap around when they go below zero. So -1 turns into 255. A good idea is to add 2000 to your input before doing calcuations. Applying a MIN and MAX and then subtracting the 2000 back out.

Matt
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-24-2002, 02:40 AM
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,070
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: Check Your Math .........

Posted by Andrew wyatt at 03/22/2001 9:55 PM EST


Other on team #524, Alpha Omega Robotics, from South High School.


In Reply to: Re: Check Your Math .........
Posted by Matt Leese on 03/21/2001 9:51 PM EST:



aah. that makes a lot of sense.

thank you so much.


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
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 do i control a piston with a joystick Ryan Foley Programming 2 05-27-2003 05:13 PM
Fried program slots? Jeff Waegelin Programming 18 03-19-2003 06:08 PM
robot goes haywire with the one joystick default code Miles Programming 7 01-24-2003 02:58 PM
joystick problem archiver General Forum 12 06-23-2002 11:08 PM
switching joystick axis????? team222badbrad Technical Discussion 9 01-16-2002 11:07 PM


All times are GMT -5. The time now is 04:21 AM.

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