0c4544c1e1
ConfigStore for storing and retrieving config settings (needs XML import/export) Header display with 4 different header fields (all configurable) Publisher for ADC and FMS.
28 lines
632 B
Text
28 lines
632 B
Text
# Air Data Computer Driver using Emesary to publish data such as
|
|
#
|
|
# Airspeed
|
|
# Orientation
|
|
# Rate of turn
|
|
# Heading
|
|
# Air Temperature
|
|
#
|
|
#
|
|
# For the moment these are just taken directly from the raw properties. They
|
|
# should probably come from aircraft-specific instrumentation.
|
|
|
|
var GenericADCPublisher =
|
|
{
|
|
|
|
new : func (frequency=0.5) {
|
|
var obj = {
|
|
parents : [
|
|
GenericADCPublisher,
|
|
PeriodicPropertyPublisher.new(notifications.PFDEventNotification.ADCData, frequency)
|
|
],
|
|
};
|
|
|
|
obj.addPropMap("ADCTrueAirspeed", "/instrumentation/airspeed-indicator/true-speed-kt");
|
|
|
|
return obj;
|
|
},
|
|
};
|