AME 3623: Project 5: Sensor Models

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

Component 1: Sensor Model

Given the data that you collected, derive a mathematical equation for distance as a function of sensor value. Keep in mind:

Component 2: Analog Interface Software

Define a new variable type in "project.h":
typedef enum {
   LEFT = 0,
   RIGHT = 1
}DistanceSensor;

DistanceSensor is the variable type. LEFT and RIGHT are the two values that DistanceSensor variables can take on.

Implement the following functions:

Component 3: Testing

Write a test main() function that repeatedly:

Then:


What to Hand In

All components of the project are due by Thursday, March 5th at 8:00 am.

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: Thu Mar 5 12:18:05 2015