diff --git a/src/assets/defaults.ts b/src/assets/defaults.ts index 7800d23e9..af46b6ed8 100644 --- a/src/assets/defaults.ts +++ b/src/assets/defaults.ts @@ -541,12 +541,50 @@ export const widgetProfiles: Profile[] = [ visible: true, widgets: [ { - hash: '6439e791-3031-4928-aff2-8bd9af713798', + hash: '2f32cbb5-7031-42a1-b26e-8c110f5cfc0b', + name: 'VirtualHorizon', + component: WidgetType.VirtualHorizon, + position: { + x: 0.8470340414647122, + y: 0.030779937236477317, + }, + size: { + width: 0.06129068105944188, + height: 0.11777527653033051, + }, + options: {}, + }, + { + hash: 'c00ae733-0290-48be-93e3-cba986d9b19a', + name: 'Compass', + component: WidgetType.Compass, + position: { + x: 0.7791262675380712, + y: 0.030779937236477317, + }, + size: { + width: 0.06129068105944188, + height: 0.11777527653033051, + }, + options: { + headingStyle: 'North Up', + }, + }, + { + hash: 'd18e02c2-96ba-43fa-9135-7b4feedee580', name: 'Main Map', component: WidgetType.Map, - position: { x: 0, y: 0 }, - size: { width: 1, height: 1 }, - options: {}, + position: { + x: 0, + y: 0, + }, + size: { + width: 1, + height: 1, + }, + options: { + showVehiclePath: true, + }, }, ], miniWidgetContainers: [ @@ -561,8 +599,42 @@ export const widgetProfiles: Profile[] = [ }, ], }, - { name: 'Bottom-center container', widgets: [] }, - { name: 'Bottom-right container', widgets: [] }, + { + name: 'Bottom-center container', + widgets: [ + { + component: MiniWidgetType.ArmerButton, + name: 'ArmerButton', + options: {}, + hash: 'ecb8299e-8a98-4e95-a399-aa01ddf3d7b5', + }, + { + component: MiniWidgetType.VeryGenericIndicator, + name: 'Speed (GPS)', + options: { + displayName: 'Speed (GPS)', + variableName: 'VFR_HUD/groundspeed', + iconName: 'mdi-car-speed-limiter', + variableUnit: 'm/s', + variableMultiplier: 1, + decimalPlaces: 1, + widgetWidth: 160, + }, + hash: 'dfa95e38-47e0-4656-b863-c22029b89862', + }, + ], + }, + { + name: 'Bottom-right container', + widgets: [ + { + component: MiniWidgetType.ModeSelector, + name: 'ModeSelector', + options: {}, + hash: 'da8ad20e-e38c-4250-ad28-57b777c04a98', + }, + ], + }, ], }, ], diff --git a/src/components/mini-widgets/VeryGenericIndicator.vue b/src/components/mini-widgets/VeryGenericIndicator.vue index e5e0fc8a4..99f8b7110 100644 --- a/src/components/mini-widgets/VeryGenericIndicator.vue +++ b/src/components/mini-widgets/VeryGenericIndicator.vue @@ -1,7 +1,14 @@