37 bus->
GPWS = Bus::GpwsEnum::Reset;
132 if (
bus->
GPWS > Bus::GpwsEnum::Mode5a_Glideslope)
134 bus->
GPWS = Bus::GpwsEnum::Mode5a_Glideslope;
139 if (
bus->
GPWS > Bus::GpwsEnum::Mode5b_Glideslope)
141 bus->
GPWS = Bus::GpwsEnum::Mode5b_Glideslope;
175 if (
bus->
GPWS > Bus::GpwsEnum::Mode6_Bank_Angle)
177 bus->
GPWS = Bus::GpwsEnum::Mode6_Bank_Angle;
185 bus->
GPWS = Bus::GpwsEnum::Mode6_Ten;
186 else if (oldradioaltitude >= 0.006096f &&
bus->
RadioAltitude < 0.006096f &&
bus->
GPWS > Bus::GpwsEnum::Mode6_Twenty)
187 bus->
GPWS = Bus::GpwsEnum::Mode6_Twenty;
188 else if (oldradioaltitude >= 0.009144f &&
bus->
RadioAltitude < 0.009144f &&
bus->
GPWS > Bus::GpwsEnum::Mode6_Thirty)
189 bus->
GPWS = Bus::GpwsEnum::Mode6_Thirty;
190 else if (oldradioaltitude >= 0.012192f &&
bus->
RadioAltitude < 0.012192f &&
bus->
GPWS > Bus::GpwsEnum::Mode6_Fourty)
191 bus->
GPWS = Bus::GpwsEnum::Mode6_Fourty;
192 else if (oldradioaltitude >= 0.01524f &&
bus->
RadioAltitude < 0.01524f &&
bus->
GPWS > Bus::GpwsEnum::Mode6_Fifty)
193 bus->
GPWS = Bus::GpwsEnum::Mode6_Fifty;
194 else if (oldradioaltitude >= 0.03048f &&
bus->
RadioAltitude < 0.03048f &&
bus->
GPWS > Bus::GpwsEnum::Mode6_One_Hundred)
195 bus->
GPWS = Bus::GpwsEnum::Mode6_One_Hundred;
196 else if (oldradioaltitude >= 0.06096f &&
bus->
RadioAltitude < 0.06096f &&
bus->
GPWS > Bus::GpwsEnum::Mode6_Two_Hundred)
197 bus->
GPWS = Bus::GpwsEnum::Mode6_Two_Hundred;
198 else if (oldradioaltitude >= 0.1524f &&
bus->
RadioAltitude < 0.1524f &&
bus->
GPWS > Bus::GpwsEnum::Mode6_Five_Hundred)
199 bus->
GPWS = Bus::GpwsEnum::Mode6_Five_Hundred;
200 else if (oldradioaltitude >= 0.3048f &&
bus->
RadioAltitude < 0.3048f &&
bus->
GPWS > Bus::GpwsEnum::Mode6_One_Thousand)
201 bus->
GPWS = Bus::GpwsEnum::Mode6_One_Thousand;
229 bus->
GPWS = Bus::GpwsEnum::NoAlert;
231 case Bus::GpwsEnum::Mode5a_Glideslope:
232 case Bus::GpwsEnum::Mode5b_Glideslope:
234 command.
name =
"Glideslope";
237 case Bus::GpwsEnum::Mode6_Bank_Angle:
239 command.
name =
"GPWSBankAngle";
242 case Bus::GpwsEnum::Mode6_Retard:
244 command.
name =
"GPWSMode6Retard";
245 command.
ttl = 0.648f;
248 case Bus::GpwsEnum::Mode6_Ten:
250 command.
name =
"GPWSMode6Ten";
251 command.
ttl = 0.431f;
254 case Bus::GpwsEnum::Mode6_Twenty:
256 command.
name =
"GPWSMode6Twenty";
257 command.
ttl = 0.449f;
260 case Bus::GpwsEnum::Mode6_Thirty:
262 command.
name =
"GPWSMode6Thirty";
263 command.
ttl = 0.473f;
266 case Bus::GpwsEnum::Mode6_Fourty:
268 command.
name =
"GPWSMode6Fourty";
269 command.
ttl = 0.442f;
272 case Bus::GpwsEnum::Mode6_Fifty:
274 command.
name =
"GPWSMode6Fifty";
275 command.
ttl = 0.613f;
278 case Bus::GpwsEnum::Mode6_One_Hundred:
280 command.
name =
"GPWSMode6OneHundred";
281 command.
ttl = 0.589f;
284 case Bus::GpwsEnum::Mode6_Two_Hundred:
285 command.
name =
"GPWSMode6TwoHundred";
287 command.
name =
"GPWSMode9Minimums";
290 case Bus::GpwsEnum::Mode6_Five_Hundred:
291 command.
name =
"GPWSMode6FiveHundred";
294 case Bus::GpwsEnum::Mode6_One_Thousand:
295 command.
name =
"GPWSMode6OneThousand";
Unsafe terrain clearance with gear not down AND DECENDING.
std::vector< Command > commandStream
Altitude Loss After TakeOff.
Excessive barometric descent rate.
void FrameMove(float fElapsedTime) override
std::vector< Waypoint > waypoints
std::string name
command name
float RollAttitude
(7) Roll attitude;
float ttl
time to live in seconds (default is 10)
Abstract base class for modules By definition, instruments don't do any of the work (they don't modif...
Excessive terrain closure rate.
float GlideslopeDeviation