Go to Post FIRST opened a door and I walked through it. - Erin Rapacki [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

 
 
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #13   Spotlight this post!  
Unread 17-03-2011, 18:49
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Team Update #18

Quote:
Originally Posted by Ether View Post
You're forgetting about interrupts. If the switch is connected to an IO port which can be configured to generate an interrupt then there is no sample rate involved.
I considered interrupts, but even interrupts have a minimum latch time on most systems I've used, it may be on the order of microseconds, but it's there, and the point is, it was omitted, so we don't know if it's a fast interrupt or a slow poller, or a shift register that only gets clock in every 300ms, etc. The system must have some time component to it, which was my point. To assume it can behave instantaneously was erroneous, especially since no time component was specified. If you told me it took 100us for the interrupt to latch and take hold, then I'd say it's a negligible amount of time, but at least I'd have concrete evidence to work with.

EDIT: As also pointed out before, even interrupts cannot guarantee a clean signal without some decent debounce time on the signal, which still brings you back to a time component. Which we weren't given, and FIRST may not (yet) have.

Matt
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)

Last edited by Matt Krass : 17-03-2011 at 18:53. Reason: Additional point about debounce
Reply With Quote
 


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


All times are GMT -5. The time now is 01:46.

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