Obstacle Avoidance

Thread Starter

ActivePower

Joined Mar 15, 2012
155
I am sorry but I do not quite understand the 2 cm issue.

I was going to set the sensors to detect obstacles from 12 cm away using the pot. Isn't that sufficient?

Although, I do admit that the bot's motion between detection and response is an issue I am concerned about. But considering the worst case scenario, I'd have it stop and then decide as soon as it detects an obstacle.

My main concern at the moment is the code, which apparently doesn't perform as expected in hardware as I pointed out in my previous post.

Can someone look it up and point out any obvious errors/flaws?

@BMorse: I'll surely keep the emitter isolation in mind when I install the sensors. Thanks for the advice! :)
 

CVMichael

Joined Aug 3, 2007
419
Well, what I understood that the range it detects is from 10 to 12 cm, so if it's 9 cm (or lower) it will report something like "too close" ?? :)
 

Thread Starter

ActivePower

Joined Mar 15, 2012
155
Based on my attempts at testing the sensor, I'd say it detects anything at 12 cm distance or lower i.e. the least distance of detection is 12 cm though it also detects objects closer by.
 
Top