Description
The Gear Service is the State Machine that allows agents to interact with the gear shift stick. When the simulation is active, the agent must shift gears after every 5 seconds to maximize their score. The Gear LED is a indicator light located near the shift stick to tell the agent when it is time to shift. Shifting gears is also the mechanism for beginning the simulation. Below is the state diagram, pseudo-code, and code listing.
State Diagram
Pseudo-code
Your browser does not support viewing this document. Click here to download the document.
Header File
Your browser does not support viewing this document. Click here to download the document.

gearservice.h | |
File Size: | 0 kb |
File Type: | h |
C File
Your browser does not support viewing this document. Click here to download the document.

gearservice.c | |
File Size: | 8 kb |
File Type: | c |