Avionics
Dropship Simulator
|
Automatic Flight Control System. More...
#include <Module.h>
Public Member Functions | |
Afcs (Bus *prmBus, Logger *prmLogger) | |
void | FrameMove (float fElapsedTime) override |
Afcs & | operator= (const Afcs &) |
Public Member Functions inherited from Module | |
Module (Bus *prmBus) | |
virtual | ~Module () |
Private Attributes | |
Logger * | logger |
Bus * | bus |
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 | |
Bus * | bus |
|
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.