State Hunter – Assignment 8

This is an adaptation of my previous robot for assignment 6, so the documentation for the robot is available here: Small Robot – Assignment 6.


-Sleep: The robot will sleep until something enters its hunting range. Sleep is triggered by the dark.
-Hunt: The robot will chase things that are close to until something gets too far away or too close, in which case it will run.
-Run: When in the run state, the robot will enter a wandering mode where it will avoid objects until its put to sleep.

Arduino Sketch: mti_state_bot

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: