From 01e174f337d81d0deec5e2610543c8dba611ad2a Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Sat, 17 May 2025 12:37:06 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=83=20Adds=20IMU=20orientations=20indi?= =?UTF-8?q?cator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/OrientationIndicator.svelte | 78 +++ app/src/routes/peripherals/imu/imu.svelte | 523 ++++++++---------- 2 files changed, 311 insertions(+), 290 deletions(-) create mode 100644 app/src/lib/components/OrientationIndicator.svelte diff --git a/app/src/lib/components/OrientationIndicator.svelte b/app/src/lib/components/OrientationIndicator.svelte new file mode 100644 index 0000000..2f024db --- /dev/null +++ b/app/src/lib/components/OrientationIndicator.svelte @@ -0,0 +1,78 @@ + + +
+ +
diff --git a/app/src/routes/peripherals/imu/imu.svelte b/app/src/routes/peripherals/imu/imu.svelte index a0238a7..63d9318 100644 --- a/app/src/routes/peripherals/imu/imu.svelte +++ b/app/src/routes/peripherals/imu/imu.svelte @@ -1,310 +1,253 @@ - {#snippet icon()} - - {/snippet} - {#snippet title()} - IMU - {/snippet} - {#if $features.imu} -
-
- -
-
- {/if} - {#if $features.bmp} -
-
- -
-
-
-
- -
+ {#snippet icon()} + + {/snippet} + {#snippet title()} + IMU + {/snippet} + + {#if $features.imu} +
+
+ +
- {/if} - - \ No newline at end of file + {/if} + + {#if $features.bmp} +
+
+ +
+
+
+
+ +
+
+ {/if} +