Rise
The Vieneo Province
Gpws Class Reference

#include <Module.h>

Inheritance diagram for Gpws:
[legend]
Collaboration diagram for Gpws:
[legend]

Public Member Functions

 Gpws (Bus *prmBus, Logger *prmLogger)
 
void FrameMove (float fElapsedTime) override
 
- Public Member Functions inherited from Module
 Module (Bus *prmBus)
 
virtual ~Module ()=default
 

Private Attributes

Loggerlogger = nullptr
 
float secsincelast = 0.0f
 
float oldradioaltitude = 0.0f
 
bool mode3active = false
 
float mode3altitude = 0.0f
 
Reference oldReference = REF_ACLMODE
 
float oldIndicatedAirspeedKms = FLT_MAX
 
float oldWindSpeedMs = 0.0f
 

Additional Inherited Members

- Protected Attributes inherited from Module
Busbus
 

Detailed Description

Definition at line 36 of file Module.h.

Constructor & Destructor Documentation

◆ Gpws()

Gpws::Gpws ( Bus prmBus,
Logger prmLogger 
)

Enhanced Ground Proximity Warning System

See also
http://www.smartcockpit.com/docs/EGPWS_MKVI_and_MKVIII.pdf Two or more alerts may be activated simultaneously, so a message priority is established. The following table reflects the priority for these message callouts. Messages at the top of the list will start before or immediately override a lower priority message even if it is already in progress.

Definition at line 29 of file GPWS.cpp.

Member Function Documentation

◆ FrameMove()

void Gpws::FrameMove ( float  fElapsedTime)
overridevirtual
Todo:
Mode 4C?
Note
Bill and I spent an hour 6/7/2019 validating this ... assuming 2 dots is full scale deflection above or below that corresponds to .7 degrees vertical glideslope deviation or .35 degrees per dot!
Todo:
hard-coded right now, if we can eventually set DH/MDA
Todo:
Mode 6 V-Speeds? They are really more complicated than this because they change with weight and flap configuration and runway length and conditions

Implements Module.

Definition at line 34 of file GPWS.cpp.

Member Data Documentation

◆ logger

Logger* Gpws::logger = nullptr
private

Definition at line 38 of file Module.h.

◆ mode3active

bool Gpws::mode3active = false
private

Definition at line 42 of file Module.h.

◆ mode3altitude

float Gpws::mode3altitude = 0.0f
private

Definition at line 43 of file Module.h.

◆ oldIndicatedAirspeedKms

float Gpws::oldIndicatedAirspeedKms = FLT_MAX
private

Definition at line 45 of file Module.h.

◆ oldradioaltitude

float Gpws::oldradioaltitude = 0.0f
private

Definition at line 41 of file Module.h.

◆ oldReference

Reference Gpws::oldReference = REF_ACLMODE
private

Definition at line 44 of file Module.h.

◆ oldWindSpeedMs

float Gpws::oldWindSpeedMs = 0.0f
private

Definition at line 46 of file Module.h.

◆ secsincelast

float Gpws::secsincelast = 0.0f
private

Definition at line 40 of file Module.h.


The documentation for this class was generated from the following files: