2023-08-21 01:51:35 -04:00
|
|
|
<script setup lang="ts">
|
|
|
|
|
import MetricsCard from "@/components/settings/MetricsCard.vue";
|
|
|
|
|
import DeviceControlCard from "@/components/settings/DeviceControlCard.vue";
|
2025-01-08 12:44:06 -06:00
|
|
|
import ObjectDetectionCard from "@/components/settings/ObjectDetectionCard.vue";
|
2023-08-21 01:51:35 -04:00
|
|
|
import NetworkingCard from "@/components/settings/NetworkingCard.vue";
|
|
|
|
|
import LightingControlCard from "@/components/settings/LEDControlCard.vue";
|
|
|
|
|
import { useSettingsStore } from "@/stores/settings/GeneralSettingsStore";
|
2023-10-17 10:20:00 -04:00
|
|
|
import ApriltagControlCard from "@/components/settings/ApriltagControlCard.vue";
|
2023-08-21 01:51:35 -04:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<div class="pa-3">
|
|
|
|
|
<MetricsCard />
|
|
|
|
|
<DeviceControlCard />
|
|
|
|
|
<NetworkingCard />
|
2025-01-08 12:44:06 -06:00
|
|
|
<ObjectDetectionCard v-if="useSettingsStore().general.supportedBackends.length > 0" />
|
2023-08-21 01:51:35 -04:00
|
|
|
<LightingControlCard v-if="useSettingsStore().lighting.supported" />
|
2025-07-13 17:28:45 -04:00
|
|
|
<Suspense>
|
|
|
|
|
<!-- Allows us to import three js when it's actually needed -->
|
|
|
|
|
<ApriltagControlCard />
|
|
|
|
|
|
|
|
|
|
<template #fallback> Loading... </template>
|
|
|
|
|
</Suspense>
|
2023-08-21 01:51:35 -04:00
|
|
|
</div>
|
|
|
|
|
</template>
|