MSFS Avionics Framework 0.7.0
·
8 commits
to main
since this release
SDK
- [Breaking Change] The
createRawTextInput()method ofTextInputFieldhas been removed. - Improved fidelity of
GPSSatComputersimulation and added additional configuration options. - Added new
range()andfillRange()methods toArrayUtils. - Added new
AccelerometerPublisherclass. - Added new
above_ground_heighttopic toGNSSEvents. - Added new
DistancePerWeightandDistanceRatiomembers toUnitFamily. - Added new
NMILE_PER_GALLON_FUELandFOOT_PER_NMILEunit types. - Added new
DefaultMapLabeledRingLabelclass. - Added new
GenericMapSharedCanvasSubLayerclass. - Added new
MapLabeledRingCanvasSubLayerclass. Tcasnow supports dynamic max intruder count and update frequencies.- Added new
MapSharedCanvasLayerclass. - Added support for adding on-destroy callbacks to
MapSystemBuilder. - Errors thrown in
MapSysteminit callbacks will now be caught instead of interrupting the rest of the map build process. - Fixed a bug where
MapMultiLineAirspaceRendererwould incorrectly render offset lines at the beginning of a shape. - Added new
elevation_positiontopic toControlSurfacesEvents. Autopilotnow uses the sim's maximum bank angle value when none is set usingAPConfig.- Added new optional
independentFdsparameter toAPConfig. - The
MappedSubscribableinterface now extendsSubscription. ConsumerSubjectandConsumerValuenow implementSubscription.- Added new
hideSignoption toNumberFormatter. - The
optionsargument inNumberFormatter.create()is now optional. - Added new
SubscribableMapFunctions.count()method. - Added new
MBandMILE_PER_GALLON_FUELunit types. - Fixed incorrect values being published to the
fuel_usable_total_weighttopic. - Fixed a bug when
undefinedwas explicitly passed as theoptionargument toNumberFormatter.create(). - Fixed a bug where
BingComponentwas sending too many params toSET_MAP_PARAMSCoherent calls. - Added new
indicated_mach_number,indicated_tas,tas_to_ias_factor,indicated_mach_to_kias_factor, andindicated_tas_to_ias_factortopics toAdcEvents. - The type of
APConfigis now parameterized inAutopilot. APFLCDirectornow supports using indicated mach number.AbstractAutothrottlenow supports using indicated mach number.- Added new color interpolation methods to
ColorUtils. FSComponentnow supports the SVGtspanelement.Formatternow optionally takes a second type parameter (defaulting tostringfor backwards-compatibility) that specifies the output type of the formatter.- Introduced the new
FmcFormattertype which wrapsFormatterand allows it to return astring | FmcRenderTemplate. DisplayFieldnow accepts formatters whose output type isFmcRenderTemplate, by takingFmcFormatteras the formatter type in the options object.- The
memorizedComponentsproperty ofAbstractFmcPageis now public. - Added new
takeTextInput()method toTextInputField. - Fixed type errors in the
onPrefixedEvent()method ofFmcScreen. AltitudeSelectManagernow supports filtering events that trigger input accelerationAltitudeSelectManagernow supports locking selected altitude to the small increment step on SET events.
GarminSDK
- [Breaking Change] Added additional type safety to
BearingDisplayto prevent runtime errors. - Added additional members to
NavDataFieldType. - Added new
NavDataBarFieldTypeModelFactoryinterface. NavDataNumberUnitFieldandNavDataBearingFieldnow support custom unit formatters.- Added new generic nav data field type renderers.
TrafficInfoServicenow supports ADS-B integration and additional configuration options related to ADS-B.- CDI scaling label is now an optional parameter when selecting a sensitivity level from
AdsbSensitivityParameters. - Fixed a potential runtime error in
MapRangeCompassLayer. - Added new
runwayLabelShowproperty toMapWaypointsModuleto control visibility of runway labels separately from outlines. - The
GarminMapBuilder.waypointsbuild step now passes in the map system context to theconfigurefunction. - Factored
MapPanningModuleandMapPanningRTRControllerout of the map pointer code. - Fixed a bug in
TouchPadwhere the incorrect previous mouse position was being passed to theonDragMovedcallback. MapWaypointsVisControllernow supports options to customize declutter thresholds.MapWaypointsVisControllerno longer controls the visibility of runway outlines.GarminMapBuilder.waypointVisSettingsnow supports options to customize declutter thresholds.- Added new
NextGenGarminMapBuilderclass. - Added support for
HDDD° MM.MMM'format toLatLonDisplay. - Added new optional
splitPrefixprop toLatLonDisplay. - Added new
runwayproperty toApproachDetails. - Added support for custom unit formatters to
NumberUnitDisplayandBearingDisplay. BearingDisplay,NumberUnitDisplayandTimeDisplaynow supportToggleableClassNameRecordfor theirclassprops.- Added new
suffixFormatterandhideSuffixWhenNaNprops toTimeDisplay. - Added new
hideUnitWhenNaNprop toNumberUnitDisplay. - Added new
mapGroundNorthUpActivesetting toMapUserSettingTypes. MapOrientationModule,MapOrientationSettingsController, andMapDesiredOrientationControllernow support north up on ground logic.ScrollListnow automatically snaps back to item when item length, item spacing, or item count per page props change.DateTimeUserSettingsnow supports retrieving an instrument-local setting manager.- Fixed a bug in
Fmswhere removing the entry leg of an airway would corrupt the flight plan if the airway only had one leg in it. MapTerrainControllernow supports custom default terrain mode.- Fixed a bug where
MapWaypointHighlightIconwas still rendering zero-width strokes. ArtificialHorizonnow supports either solid color or gradient for both ground and sky.- Added new
GarminAPConfigInterfaceinterface. - Added option to use indicated mach number to
GarminAPConfig. AdcSystemnow publishes mach and true airspeed values derived from indicated airspeed in lieu of "true" values.- Added new
tasToIasproperty toAirspeedIndicatorDataProvider. - Added new
tasToIasproperty toAirspeedDefinitionContext. AirspeedIndicatorno longer takes in the event bus as a prop.AirspeedIndicatornow supports adding additional CSS classes via prop.AirspeedIndicatornow optionally supports zero-valued V-speeds.DefaultAirspeedIndicatorDataProviderno longer requires an instance ofAirspeedAoaDataProviderto be passed to the constructor. If no AOA data provider is specified, thenDefaultAirspeedIndicatorDataProviderbehaves as if AOA data is always unavailable.- Various methods in
VSpeedUserSettingUtilsnow optionally support zero-valued V-speeds.
G1000
- [Breaking Change] Replaced the
AirspeedIndicatorcomponent with the newG1000AirspeedIndicatorcomponent. - Added support for hardware keybord with new AS1000_CONTROL_PAD_ H events.
- Added support for LVL and TO/GA modes.
- Added support for knob-based XPDR code entry using H events.
- Added
panel.xmlsupport for configuring V-speeds. - Added
panel.xmlsupport for configuring the airspeed indicator. - Added new
ArrowControlcomponent. G1000UiControlWrappernow supports wrappingG1000ControlListcontrols.NumberInputnow takesMutableSubscribableobjects for itsdataSubjectprop.ArrowTogglenow takesMutableSubscribableobjects for itsdatarefprop.- Exported
NavSystems's classFrequencyItemand its props interfaceFrequencyItemProps. - Added
panel.xmlsupport for enabling/disabling selected altitude input event compatibility. Enable to treatAP_ALT_VAR_SETevents as increment/decrement events. Used for airplanes whose ModelBehaviors interceptAP_ALT_VAR_INC/AP_ALT_VAR_DECevents and forward them as SET events instead. - Added
panel.xmlsupport for configuring autopilot lateral director (ROL, HDG, VOR, LOC, GPS) bank angle limits. - Added a
scrollToMostRecentlyAddedprop toHardwareControlListPropsto allow autoscrolling to the most recently added item of the list. - Added support for control pad entry on number entry components under
UiControls2:GenericNumberInput, and the newly addedTimeNumberInputandCourseNumberInput. TheGenericNumberInputcomponent supports keypad entry through single digit DigitInputs. - Made all methods in PFD and MFD plugins optional.
- CAS messages may now be assigned associated Alerts messages via JS and/or plugin code
- Added support for styling the Com selection based on the radio selected to transmit, and for both Nav and Com standby frequencies selected to edit.
G3000
- Added new
CharInputandCharInputSlotcomponents. - Added new
Keyboardcomponent. - Added new
GtcWaypointDialogview, which allows a user to select a waypoint. This new dialog should be used where possible instead ofGtcKeyboardDialog. GtcWaypointDisplaynow supports bindingToggleableClassNameRecordto itsclassprop.- Fixed memory leaks in
GtcWaypointDisplay. - Added
panel.xmlsupport for defining airspeed indicator color ranges using TAS.