$24
In this project you will simulate an airplane monitoring system.
Principals of Operation
The purpose of the airplane monitoring system is to track and log changes to various phenomena present in an airplane. Examples of such phenomena are wing vibration, engine temperature, and cabin pressure. Normally this log would be written to a shielded data recorder within the airplane (a “black box”); we will be writing the log to an instance of std::ostream.
Each phenomenon will be modeled as a voltage that varies with time. The voltage at a point in time represents the level of the phenomenon occurring at that moment. We will call this changing voltage over time a signal. Normally signals would vary unpredictably based on a complex set of contributing factors. For simulation purposes we will model three types of signals: constant, saw tooth, and sine wave. These signals will be hard coded to be predictable; a specific signal will always generate the same voltage for a given point in time.
The monitoring system tracks changes to phenomena by attaching a sensor to each phenomenon’s signal. A sensor applies a meaning to the voltage generated by the signal. For example, a sensor attached to the signal generated by vibrations in the wings of an airplane would interpret a voltage level of 42 to mean the wings are vibrating at 42 Hertz (cycles per second). To recap, a signal represents a changing voltage over time (42 volts at time = 3 seconds) while a sensor interprets that voltage to have a specific meaning by applying a name (wing vibration) and unit of measurement (Hertz) to the voltage.
Any number of sensors can be connected to the airplane monitoring system. At any point in time the monitoring system can be instructed to log the current voltage being observed by each sensor. This is called recording a data point.
CSE-40477 – C/C++ III, Intermediate Programming wit h Objects – Project #2
CSE-40477 – C/C++ III, Intermediate Programming wit h Objects – Project #2
CSE-40477 – C/C++ III, Intermediate Programming wit h Objects – Project #2
CSE-40477 – C/C++ III, Intermediate Programming wit h Objects – Project #2
CSE-40477 – C/C++ III, Intermediate Programming wit h Objects – Project #2
Page 6 of 6