From f9a899abb152640c447b9f1ec5179395a5578dc4 Mon Sep 17 00:00:00 2001 From: Eric Johnson Date: Sun, 19 Nov 2023 17:07:09 -0600 Subject: [PATCH] Add Relative Altitude Mini Widget --- src/assets/altitude-icon.svg | 3 +++ src/components/MiniWidgetInstantiator.vue | 4 ++++ .../RelativeAltitudeIndicator.vue | 24 +++++++++++++++++++ src/libs/vehicle/ardupilot/ardupilot.ts | 4 +++- src/libs/vehicle/types.ts | 2 +- src/types/miniWidgets.ts | 1 + 6 files changed, 36 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..09b62aff3 100644 --- a/src/components/MiniWidgetInstantiator.vue +++ b/src/components/MiniWidgetInstantiator.vue @@ -1,4 +1,7 @@