next up previous contents index
Next: Tips and useful procedures Up: Sensors and actuators Previous: apply-actuator name argument argument

Example

Gunk:

(define colour (read-sensor 'LIGHT-SENSOR))

Setup:

(simulation.define-device sim 'LIGHT-SENSOR
  (make-static-projected-pnm-colour-sensor "picture.ppm"))


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