IR and Sensor rangefinding data visualisation
September 21, 2009
These images were created by stepping a pair of servo motors to create a file containing sensor readings for each possible servo position.
I took 3 readings for each position from each servo and stored them in a file, then read the data back in a seperate pygame program running on a desktop to generate the image. RGB values were generated from the 3 readings from each sensor.
The robot was positioned in a hallway looking at a door about a meter away. For the bottom half of the picture, the robot is looking down and scanning an area about the size of a CD and shrinking as it gets lower. this is due to the positioning/mounting of the servo.
I think i need to add a cap to the Sonar's input line - both sensors are running from the arduino's +5v line, powered via a serial connection to an eeepc
All software is done in python, scanning took 10 hours or so and generated a 16 meg file.