From 622499731014b29e204ce48b8e7319d771a89881 Mon Sep 17 00:00:00 2001 From: Eric Date: Sun, 19 Nov 2023 14:12:37 -0800 Subject: [PATCH 1/3] added relative altitude mini widget --- src/assets/altitude-icon.svg | 3 +++ src/components/MiniWidgetInstantiator.vue | 4 +++ .../RelativeAltitudeIndicator.vue | 26 +++++++++++++++++++ src/libs/vehicle/ardupilot/ardupilot.ts | 4 ++- src/libs/vehicle/types.ts | 2 +- src/types/miniWidgets.ts | 1 + 6 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 src/assets/altitude-icon.svg create mode 100644 src/components/mini-widgets/RelativeAltitudeIndicator.vue diff --git a/src/assets/altitude-icon.svg b/src/assets/altitude-icon.svg new file mode 100644 index 000000000..769f4f7ae --- /dev/null +++ b/src/assets/altitude-icon.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/components/MiniWidgetInstantiator.vue b/src/components/MiniWidgetInstantiator.vue index abb89e896..67ec25e87 100644 --- a/src/components/MiniWidgetInstantiator.vue +++ b/src/components/MiniWidgetInstantiator.vue @@ -1,4 +1,7 @@