From 6db6ede370bd9d9f26d02b9c5b279e60541e31dd Mon Sep 17 00:00:00 2001 From: Arturo Manzoli Date: Mon, 21 Oct 2024 16:55:56 -0300 Subject: [PATCH] Defaults: Modify default boat profile Signed-off-by: Arturo Manzoli --- src/assets/defaults.ts | 84 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 78 insertions(+), 6 deletions(-) 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', + }, + ], + }, ], }, ],