AME 3623: Project 10: Finite State Machines II

Note: do not seriously start this project until you have completed your project 9 code review.

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

Project Outline

The goal for our hovercraft is to navigate through the environment shown below. The thick lines correspond to visible walls.
  1. At the beginning of a test run, your hovercraft will be placed in either the 1, 2 or 3 configuration shown (it will be placed in the middle of the hallway). Your program will not be given any information about which configuration it is in.

  2. On start up, your program should first record the state of the switch.

  3. Phase 1: your hovercraft must navigate from its initial configuration to a subgoal:

    Note: "ending" at a location is very liberal; if your hovercraft stops within 2 feet of the end of the designated hallway, then it is considered as as having arrived successfully.

  4. Phase 2: depending on the state of the switch at the beginning of your run, the craft must navigate to a second specific subgoal:

Component 1: Hardware

Place your distance sensors strategically so as to simplify the FSM design.

Component 2: Finite State Machine Design

Design your FSM on paper. This FSM must accomplish all of the above steps, including handling the start and the stopped states.

In particular, you must:

Component 3: Software

Implement and test your FSM.

Notes


What to Hand In

All components of the project are due by Thursday, May 5th at 9:00 pm.

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.

References


andrewhfagg -- gmail.com

Last modified: Tue May 3 15:19:09 2016