next up previous
Next: Controlling the accelerator Up: No Title Previous: CurrentSpeed

   
Your job in this assignment

We have given you five processes, which simulate a clock, the road grade, the accelerator, a desired speed, and a current speed. Your job is to write the program that simulates the entire cruise control process using these classes.

All your changes will be made to class CruiseControl. Your code will communicate with the other processes using their methods ticks(), readValue(), setValue(double t), turnOn(), and turnOff().



 

Claire Cardie
1998-11-11