|
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...
|