next up previous contents index
Next: make-static-projected-PNM-intensity-sensor image-file procedure Up: Defining sensors and actuators Previous: simulation.define-device name device procedure

make-static-projected-PNM-colour-sensor image-file procedure


Makes an input device that senses RGB colour. The PPM image in image-file is projected onto a unit square. The sensor has a constant stimulus which is taken from the image. Reading the sensor returns a RGB value.

Erik Rauch
Sat May 8 16:42:57 EDT 1999