TODAY:
working on getting sortBot to hone in on blocks,
we added a second distance sensor and then hacked together some code
it's actually pretty much the light following code we used a couple challenges back.
The problem with the distance sensors is that they work by measuring the reflected angle of a beam
(which is neat!)
but, inside the focus of the sensor it reads distances in reverse, so the sensors have to mounted pretty far back to get an accurate read.
We've got some issues with range where it will just sort of wander in circles (a result of slight differences in the sensors i assume) if it doesn't 'see' anything.
I think that we can correct for the wandering if we come up with some sort of simple search pattern, we will have to see how easy (or probably not) that is though.
NEXT:
color recognition
BRAINSTORMING:
companionBot
No comments:
Post a Comment