diff --git a/photon-client/src/components/dashboard/tabs/TargetsTab.vue b/photon-client/src/components/dashboard/tabs/TargetsTab.vue index 5250199c14..1095946ae5 100644 --- a/photon-client/src/components/dashboard/tabs/TargetsTab.vue +++ b/photon-client/src/components/dashboard/tabs/TargetsTab.vue @@ -12,7 +12,6 @@ import { useStateStore } from "@/stores/StateStore"; diff --git a/photon-client/src/types/PhotonTrackingTypes.ts b/photon-client/src/types/PhotonTrackingTypes.ts index d356e0d49b..1140ae6251 100644 --- a/photon-client/src/types/PhotonTrackingTypes.ts +++ b/photon-client/src/types/PhotonTrackingTypes.ts @@ -9,6 +9,13 @@ export interface Transform3d { angle_z: number; } +export interface Quaternion { + X: number; + Y: number; + Z: number; + W: number; +} + export interface AprilTagFieldLayout { field: { length: number; @@ -23,12 +30,7 @@ export interface AprilTagFieldLayout { z: number; }; rotation: { - quaternion: { - X: number; - Y: number; - Z: number; - W: number; - }; + quaternion: Quaternion; }; }; }[]; diff --git a/photon-client/src/views/GeneralSettingsView.vue b/photon-client/src/views/GeneralSettingsView.vue index 4cc5d0206d..edd3e67edd 100644 --- a/photon-client/src/views/GeneralSettingsView.vue +++ b/photon-client/src/views/GeneralSettingsView.vue @@ -4,6 +4,7 @@ import DeviceControlCard from "@/components/settings/DeviceControlCard.vue"; import NetworkingCard from "@/components/settings/NetworkingCard.vue"; import LightingControlCard from "@/components/settings/LEDControlCard.vue"; import { useSettingsStore } from "@/stores/settings/GeneralSettingsStore"; +import ApriltagControlCard from "@/components/settings/ApriltagControlCard.vue";