CMPE 117 - Homework 4

The Assignment: A Light-Seeking Robot

You have to write the Esterel code for a robot that seeks the light, and is a happy companion, almost like a pet. The robot is intended to be used indoors, and should try to move to regions of higher illumination, while avoiding obstacles. A possible starting point for the code is the example given in class.

The one of the above example can be improved in many ways:

The goal is for you to make a smart robot, and to write some beautiful, structured, and superbly commented Esterel code. The main criteria for evaluation will be structure of the program, clarity, elegance, and sophistication in the robot model, and in the use of Esterel. In particular:

The goal is for you to learn embedded programming and Esterel. While the robot must seek the light in some reasonable way, the structure of the program is at least as important. In other words, we prise more the intelligence of the pet, than its light-seeking performance (otherwise, we would all have moths as pets).

Homework Submission

Submit the esterel program as an attachment by email to luca@soe, by Friday May 17. Indicate in the assignment with whom you worked, and which portions of the program you were responsible for.


Luca de Alfaro