View Single Post
  #4   Spotlight this post!  
Unread 02-03-2013, 23:09
StevenB StevenB is offline
is having FRC withdrawal symptoms.
AKA: Steven Bell
no team
Team Role: College Student
 
Join Date: May 2005
Rookie Year: 2005
Location: Stanford, CA
Posts: 414
StevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond repute
Re: Sensor "de-noising"

Instead of stopping as soon as you detect a screw, you could wait for two (or three, or whatever) consecutive "screw present" readings. This would eliminate spurious stops from a single noisy reading. If necessary, you could stop the motor, collect a few readings, and then make a decision about whether there was a screw or just noise.

Because you know approximately how long the motor should run between screws, you could also filter out detections that come far too soon. However, this only reduces the problem; it doesn't really eliminate it.
__________________
Need a physics refresher? Want to know if that motor is big enough for your arm? A FIRST Encounter with Physics

2005-2007: Student | Team #1519, Mechanical Mayhem | Milford, NH
2008-2011: Mentor | Team #2359, RoboLobos | Edmond, OK
2014-??: Mentor | Looking for a team...