mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-22 01:11:40 +00:00
23 lines
936 B
Vue
23 lines
936 B
Vue
<script setup lang="ts">
|
|
import ObjectDetectionCard from "@/components/settings/ObjectDetectionCard.vue";
|
|
import GlobalSettingsCard from "@/components/settings/GlobalSettingsCard.vue";
|
|
import LightingControlCard from "@/components/settings/LEDControlCard.vue";
|
|
import { useSettingsStore } from "@/stores/settings/GeneralSettingsStore";
|
|
import ApriltagControlCard from "@/components/settings/ApriltagControlCard.vue";
|
|
import DeviceCard from "@/components/settings/DeviceCard.vue";
|
|
</script>
|
|
|
|
<template>
|
|
<div class="pa-3">
|
|
<DeviceCard />
|
|
<GlobalSettingsCard />
|
|
<ObjectDetectionCard v-if="useSettingsStore().general.supportedBackends.length > 0" />
|
|
<LightingControlCard v-if="useSettingsStore().lighting.supported" />
|
|
<Suspense>
|
|
<!-- Allows us to import three js when it's actually needed -->
|
|
<ApriltagControlCard />
|
|
<template #fallback> Loading... </template>
|
|
</Suspense>
|
|
</div>
|
|
</template>
|