Avionics
Dropship Simulator
Fms Class Reference

Flight Management System. More...

#include <Module.h>

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

Public Member Functions

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

Private Attributes

Loggerlogger
 
Busbus
 

Additional Inherited Members

- Protected Attributes inherited from Module
Busbus
 

Detailed Description

Flight Management System.

Definition at line 341 of file Module.h.

Constructor & Destructor Documentation

◆ Fms()

Fms::Fms ( Bus prmBus,
Logger prmLogger 
)

Definition at line 3 of file FMS.cpp.

Member Function Documentation

◆ FrameMove()

void Fms::FrameMove ( float  fElapsedTime)
overridevirtual

need to watch next waypoint if it was ahead of us and we pass abeam then we pop it off the waypoint list



-90 - 359 is


so if the dist and speed are compatible for a "fly-by" waypoint then cycle to next one early

should check altitude difference

we need to calculate this, hard-coded for ASE for now

Implements Module.

Definition at line 9 of file FMS.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ bus

Bus* Fms::bus
private

Definition at line 345 of file Module.h.

◆ logger

Logger* Fms::logger
private

Definition at line 344 of file Module.h.


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