AME 3623: Project 9: Finite State Machines

At the end of this project, you should be able to:

Project Outline

Your hovercraft will be placed at a location and orientation on the field. Your craft will take the following steps:
  1. Wait for the switch to be pressed.

  2. Record the current orientation. This will be your goal orientation.

  3. After a 5-second delay, turn on the middle fan.

  4. After a 5-second delay, move forward until a wall is detected to the front.

  5. Stop

  6. Make a 90 degree turn to the left.

  7. Move forward until another wall is detected to the front.

  8. Stop, including shutting down the central fan.

  9. Return to the waiting state.

Component 1: Hardware

If you have not already, re-add the distance sensors. One should be mounted on the front of your craft; the other should be mounted to either the left or right side on the top ring (not the bottom ring).

Component 2: Finite State Machine

Design your FSM on paper. This FSM must accomplish all of the above steps, including handling the start from the switch press and a stopped state. Note that you will need some new FSM events and actions that what you have already used.

Component 3: Software

Notes

What to Hand In

All components of the project are due by Friday, April 24th at 11:59pm.

Grading

Personal programming credit: Group grade distribution:

Group Grading Rubric

Grades for individuals will be based on the group grade, but weighted by the assessed contributions of the group members to the non-personal programming items.


andrewhfagg -- gmail.com

Last modified: Wed Apr 15 23:58:24 2020