Let's Make Robots!

map

Environment mapping

I'm currently working on an application for mapping the environment with a range sensor. Right now it's only a sharp sensor (GP2D12) mounted on a servo that is turning slowly, while the readings and corresponding servo angles are being sent constantly to my PC via serial. The program then converts the angle and distance to x/y coordinates and draws a map.

I have got the sonar sensor working and scanning and added this to the data sent to the pc.  I have also written a very basic obstacle avoidance program which … Read more