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, ramp up 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. If a wall is detected immediately, then make a 90 degree turn to the left.

    Otherwise, move forward until another wall is detected to the front.

  8. Stop, including shutting down all fans.

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 26th 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 17 20:58:04 2019