Avionics
Dropship Simulator
Afcs Class Reference

Automatic Flight Control System. More...

#include <Module.h>

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

Public Member Functions

 Afcs (Bus *prmBus, Logger *prmLogger)
 
void FrameMove (float fElapsedTime) override
 
Afcsoperator= (const Afcs &)
 
- Public Member Functions inherited from Module
 Module (Bus *prmBus)
 
virtual ~Module ()
 

Private Attributes

Loggerlogger
 
Busbus
 
float oldDesiredVsi = 0.0f
 
const float PitchAggression = 2.0f
 
const float RollAggression = 2.0f
 
const float Vs1 = 0.030f
 
bool rightSide = true
 
float oldRollAttitude = 0.0f
 
float oldPitchAttitude = 0.0f
 

Additional Inherited Members

- Protected Attributes inherited from Module
Busbus
 

Detailed Description

Automatic Flight Control System.

Definition at line 236 of file Module.h.

Constructor & Destructor Documentation

◆ Afcs()

Afcs::Afcs ( Bus prmBus,
Logger prmLogger 
)

Definition at line 4 of file AFCS.cpp.

Member Function Documentation

◆ FrameMove()

void Afcs::FrameMove ( float  fElapsedTime)
overridevirtual

HOW TO READ ENCODER?! FLASHING QUEUING














find reference, if no lateral mode is selected then select roll mode

find reference, if we turn off vertical mode then we need to turn off lateral mode and standby vertical mode

EMB 190 AFCS Pg 24 Altitude select is armed automatically whenever any [other] vertical FD mode is selected

EMB 190 AFCS Pg 20 The AP takes different actions considering the different airplane bank angles at moment of activation

EMB 190 AFCS Pg 22 FPA mode becomes the active FD mode when a lateral mode is activated and there is no vertical mode active

can't find reference for this behavior... if we no longer have a lateral mode selected we clear vertical mode and standby lateral

if there is no mode then we need to select something

3 degree glide slope based on distance from touchdown and tdz elevation

3 degree glide slope based on distance from touchdown and tdz elevation

we want 2000 fpm (0.01016 kms) until last 1000 feet (0.3048 km)? There is something in here that is goofie... this goes off when it shouldn't




we need smooth altitude

we need vertical speed

if transfer>xx // trim runaway sound? should be able to let FCS clamp this

move track calculation to AHRS

http://aviation.stackexchange.com/questions/4995/what-does-the-boeing-777-autopilot-do-after-reaching-the-last-programmed-waypoin

Implements Module.

Definition at line 10 of file AFCS.cpp.

Here is the call graph for this function:

◆ operator=()

Afcs& Afcs::operator= ( const Afcs )
inline

Definition at line 253 of file Module.h.

Member Data Documentation

◆ bus

Bus* Afcs::bus
private

Definition at line 240 of file Module.h.

◆ logger

Logger* Afcs::logger
private

Definition at line 239 of file Module.h.

◆ oldDesiredVsi

float Afcs::oldDesiredVsi = 0.0f
private

Definition at line 241 of file Module.h.

◆ oldPitchAttitude

float Afcs::oldPitchAttitude = 0.0f
private

Definition at line 247 of file Module.h.

◆ oldRollAttitude

float Afcs::oldRollAttitude = 0.0f
private

Definition at line 246 of file Module.h.

◆ PitchAggression

const float Afcs::PitchAggression = 2.0f
private

Definition at line 242 of file Module.h.

◆ rightSide

bool Afcs::rightSide = true
private

Definition at line 245 of file Module.h.

◆ RollAggression

const float Afcs::RollAggression = 2.0f
private

Definition at line 243 of file Module.h.

◆ Vs1

const float Afcs::Vs1 = 0.030f
private

Definition at line 244 of file Module.h.


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