
Hey guys.
I need a little help as the title suggests. I've been trying to have a ultrasonic sensor checking for obstacles while a Roomba is in cleaning mode, the idea being that the body of the robot doesn't hit the top of a chair or table where on its own, a Roomba would go under it as it knows it's own height, but with a robot body on top of it, it is obviously now taller now and the IR sensor on the Roomba doesn't know this.
I have a ping sensor mounted on a servo positioned at the robots chest hight, but I can't seem to write a script where if the ping sensor detects anything, it would direct the Roomba (while in cleaning mode) away from the obstacles, as the Roomba's IR sensor seems to override the ping sensor and bad things happen (lots of body slams in to furniture and falling over). Is it possible to integrate the two together?
Thanks.
Even more curious is that I'm getting emails to mark this as resolved as I have received a response, which I clearly haven't, LOL. *confused*
Thanks.
Alan
That's a great idea Alan. Quite a simple one by all accounts, but that's exactly what I'm looking for and just couldn't work it out in my head. That will work for me.
Many thanks again Alan and Rich.