Alan,
Since nobody replied yet…..The dark object problem always going to be a problem…there is no getting rid of that.….however, you should be getting more than a meter off white objects….You should be able to get at more than 2M (about 6 ft.) pretty reliably. The number one problem I have seen with getting the unit to work well is the speed you spin it at….its like the 3 bears….can’t be too fast or too slow….needs to be just right….but not terribly precise. No PID required. What I would suggest is, look at the valid measurement flag coming from the data stream. Adjust the spin rate and peak the number of valid measurements you get off a white target. We just put a POT in between the motor and a fixed DC supply on the robot, and then dialed it in by hand.
Hope this helps,
-Ted
--
You received this message because you are subscribed to the Google Groups "HomeBrew Robotics Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbrobotics+...@googlegroups.com.
To post to this group, send email to hbrob...@googlegroups.com.
Visit this group at http://groups.google.com/group/hbrobotics?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.