Skip to content

Commit

Permalink
Change default profile for the ROV
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Nov 27, 2023
1 parent f1ae9b4 commit bc92c94
Showing 1 changed file with 86 additions and 36 deletions.
122 changes: 86 additions & 36 deletions src/assets/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,44 +28,36 @@ export const widgetProfiles: Profile[] = [
showBottomBarOnBoot: true,
widgets: [
{
hash: '8b1448f5-3f07-4bfc-8a0e-5d491993f858',
name: 'Depth HUD',
component: WidgetType.DepthHUD,
position: { x: 0.89, y: 0.23 },
size: { width: 0.09, height: 0.62 },
managerVars: defaultWidgetManagerVars,
options: {
showDepthValue: true,
hudColor: '#FFFFFF',
hash: '2e58bef4-4ac6-4fdb-adb2-f1d8f7e2a6e5',
name: 'Virtual Horizon',
component: WidgetType.VirtualHorizon,
position: {
x: 0.933,
y: 0.054,
},
},
{
hash: '0230b90e-0c6d-45ba-94e1-994a074b76c7',
name: 'Attitude HUD',
component: WidgetType.Attitude,
position: { x: 0.14, y: 0.2 },
size: { width: 0.72, height: 0.6 },
managerVars: defaultWidgetManagerVars,
options: {
showCenterAim: true,
showPitchLines: true,
showRollPitchValues: true,
desiredAimRadius: 180,
pitchHeightFactor: 1000,
hudColor: '#FFF',
size: {
width: 0.062,
height: 0.118,
},
options: {},
managerVars: defaultWidgetManagerVars,
},
{
hash: '6920ce40-5121-4031-b628-678c5449d94a',
name: 'HUD Compass',
component: WidgetType.CompassHUD,
position: { x: 0.15, y: 0.84 },
size: { width: 0.7, height: 0.065 },
managerVars: defaultWidgetManagerVars,
hash: 'a1df9ff7-ac09-4215-a94b-2873e6f4e5cd',
name: 'Compass',
component: WidgetType.Compass,
position: {
x: 0.863,
y: 0.054,
},
size: {
width: 0.062,
height: 0.118,
},
options: {
showYawValue: true,
hudColor: '#FFF',
headingStyle: 'North Up',
},
managerVars: defaultWidgetManagerVars,
},
{
hash: '6439e791-3031-4928-aff2-8bd9af713798',
Expand All @@ -86,21 +78,79 @@ export const widgetProfiles: Profile[] = [
name: 'Bottom-left container',
widgets: [
{
hash: 'c6eb406b-8e3c-4ab9-a348-4ad5058352be',
hash: '59517f70-4221-491a-8f10-c877c05c22b5',
component: MiniWidgetType.ViewSelector,
managerVars: defaultMiniWidgetManagerVars,
managerVars: {
timesMounted: 0,
configMenuOpen: false,
},
options: {},
},
{
component: MiniWidgetType.VeryGenericIndicator,
options: {
displayName: 'Pilot Gain',
variableName: 'PilotGain',
iconName: 'mdi-account-hard-hat',
variableUnit: '%',
fractionalDigits: 0,
variableMultiplier: 100,
},
hash: '9d22559c-550e-4929-949d-492fbe8298db',
managerVars: defaultMiniWidgetManagerVars,
},
{
component: MiniWidgetType.VeryGenericIndicator,
options: {
displayName: 'Lights (1)',
variableName: 'Lights1',
iconName: 'mdi-flashlight',
variableUnit: '%',
fractionalDigits: 0,
variableMultiplier: 100,
},
hash: '9d22559c-550e-4929-949d-492fbe8298db',
managerVars: defaultMiniWidgetManagerVars,
},
{
component: MiniWidgetType.VeryGenericIndicator,
options: {
displayName: 'Cam Tilt',
variableName: 'CamTilt',
fractionalDigits: 1,
iconName: 'mdi-camera-retake',
variableUnit: '%',
variableMultiplier: 100,
},
hash: '31cc564a-a01e-456a-b181-f04ba512486a',
managerVars: defaultMiniWidgetManagerVars,
},
],
},
{
name: 'Bottom-center container',
widgets: [
{
hash: 'c6eb406b-8e3c-4ab9-a348-4ad5058352be',
component: MiniWidgetType.DepthIndicator,
managerVars: defaultMiniWidgetManagerVars,
options: {},
hash: 'd69e1ab6-569b-4764-ab8d-9bfd686673e7',
managerVars: {
timesMounted: 0,
configMenuOpen: false,
},
},
{
component: MiniWidgetType.VeryGenericIndicator,
options: {
displayName: 'Water Temp',
variableName: 'SCALED_PRESSURE2.temperature',
fractionalDigits: 1,
iconName: 'mdi-thermometer',
variableUnit: '°C',
variableMultiplier: 0.01,
},
hash: 'f53af19b-9d2a-4d4f-a692-6068513fdae8',
managerVars: defaultMiniWidgetManagerVars,
},
],
},
Expand Down

0 comments on commit bc92c94

Please sign in to comment.