In your XML file, in the section <sensors>, you need to put one of these. The error message you get is because there no sensor called "light" whose implementation is "rot_z_only". If you want to use "light", then you need to use "default" as implementation. If you want to use the eye-bot - specific sensor, then use "rot_z_only".
Code: Select all
[ eyebot_light (rot_z_only) ] The eye-bot light sensor (optimized for 2D). [ footbot_light (rot_z_only) ] The foot-bot light sensor (optimized for 2D). [ kheperaiv_light (rot_z_only) ] The KheperaIV light sensor (optimized for 2D). [ light (default) ] A generic light sensor.