|
FlightGear next
|
Model an electrically-powered attitude indicator. More...
#include <attitude_indicator_electric.hxx>
Inherits AbstractInstrument.
Public Member Functions | |
| AttitudeIndicatorElectric (SGPropertyNode *node) | |
| virtual | ~AttitudeIndicatorElectric () |
| void | init () override |
| void | reinit () override |
| void | update (double dt) override |
Static Public Member Functions | |
| static const char * | staticSubsystemClassId () |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractInstrument | |
| void | readConfig (SGPropertyNode *config, std::string defaultName) |
| void | initServicePowerProperties (SGPropertyNode *node) |
| bool | isServiceableAndPowered () const |
| std::string | nodePath () const |
| std::string | name () const |
| int | number () const |
| void | unbind () override |
| void | setMinimumSupplyVolts (double v) |
| void | setDefaultPowerSupplyPath (const std::string &p) |
| specify the default path to use to power the instrument, if it's non- standard. | |
| virtual bool | isPowerSwitchOn () const |
Model an electrically-powered attitude indicator.
Config: gyro/spin-up-sec If given, seconds to spin up until power-norm (from 0->100%) gyro/spin-down-sec If given, seconds the gyro will loose spin without power (from 100%->0)
Input properties:
/instrumentation/"name"/config/tumble-flag /instrumentation/"name"/serviceable /instrumentation/"name"/caged-flag /instrumentation/"name"/tumble-norm /orientation/pitch-deg /orientation/roll-deg /systems/electrical/outputs/attitude-indicator-electric
Output properties:
/instrumentation/"name"/indicated-pitch-deg /instrumentation/"name"/indicated-roll-deg /instrumentation/"name"/tumble-norm /instrumentation/"name"/off-flag
Definition at line 47 of file attitude_indicator_electric.hxx.
| AttitudeIndicatorElectric::AttitudeIndicatorElectric | ( | SGPropertyNode * | node | ) |
Definition at line 27 of file attitude_indicator_electric.cxx.
|
virtual |
Definition at line 40 of file attitude_indicator_electric.cxx.
|
override |
Definition at line 45 of file attitude_indicator_electric.cxx.
|
override |
Definition at line 85 of file attitude_indicator_electric.cxx.
|
inlinestatic |
Definition at line 59 of file attitude_indicator_electric.hxx.
|
override |
Definition at line 93 of file attitude_indicator_electric.cxx.