Communication Protocol
The following document defines the class wide communication protocol that all the teams followed. It specifies how the Farmer and the DOG should communicate and the behavior when one of them loses connection. With the use of a single common protocol, all Farmers can communicate correctly with all DOGs and all DOGs can correctly follow the commands of any Farmer.
You can download the protocol here.
|
FARMER State Diagrams
DOG State Diagrams
Farmer's Main Code
|
|
Dog's Main Code
|
|
Main Pseudo Code
|
|
Overall Code
You can also download our whole program below.
me218c_team9.zip | |
File Size: | 3545 kb |
File Type: | zip |