Lego mindstorms nxt. Wheeled robot.
Experiment: moving to the source of light. All three phases.
Phase 1: scanning around in search of the maximum brightness value. The scanning is started by a signal from the Ultrasonic sensor. Brightness is measured by the Light sensor.
Phase 2: search of the approximate direction to the source of light using the Light sensor.
Phase 3: moving to the source of light. The direction is kept by the Light sensor. The moving is finished by a signal from the Ultrasonic sensor when the target is reached.
Please see 010 - http://youtube.com/watch?v=cL6KaAok474 for the same experiment with modified version of the algorithm.
cn i have the algorithm?
djkalai 1 year ago