From 28acd5dc1873ffa5a299bd739086aa4e825ea12e Mon Sep 17 00:00:00 2001
From: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com>
Date: Thu, 19 Oct 2023 09:33:18 -0400
Subject: [PATCH] Follow standard unit repersentations across the client
(angle)°
(distance) m
---
photon-client/src/components/dashboard/tabs/TargetsTab.vue | 6 +++---
.../src/components/settings/ApriltagControlCard.vue | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/photon-client/src/components/dashboard/tabs/TargetsTab.vue b/photon-client/src/components/dashboard/tabs/TargetsTab.vue
index 074b4a0e4e..8f5b300090 100644
--- a/photon-client/src/components/dashboard/tabs/TargetsTab.vue
+++ b/photon-client/src/components/dashboard/tabs/TargetsTab.vue
@@ -92,9 +92,9 @@ const currentPipelineSettings = useCameraSettingsStore().currentPipelineSettings
Tags |
- {{ useStateStore().currentPipelineResults?.multitagResult?.bestTransform.x.toFixed(2) }} |
- {{ useStateStore().currentPipelineResults?.multitagResult?.bestTransform.y.toFixed(2) }} |
- {{ useStateStore().currentPipelineResults?.multitagResult?.bestTransform.angle_z.toFixed(2) }} |
+ {{ useStateStore().currentPipelineResults?.multitagResult?.bestTransform.x.toFixed(2) }} m |
+ {{ useStateStore().currentPipelineResults?.multitagResult?.bestTransform.y.toFixed(2) }} m |
+ {{ useStateStore().currentPipelineResults?.multitagResult?.bestTransform.angle_z.toFixed(2) }}° |
{{ useStateStore().currentPipelineResults?.multitagResult?.fiducialIDsUsed }} |
diff --git a/photon-client/src/components/settings/ApriltagControlCard.vue b/photon-client/src/components/settings/ApriltagControlCard.vue
index f6a3e30629..bf3d245fa8 100644
--- a/photon-client/src/components/settings/ApriltagControlCard.vue
+++ b/photon-client/src/components/settings/ApriltagControlCard.vue
@@ -40,10 +40,10 @@ const quaternionToEuler = (rot_quat: Quaternion): { x: number; y: number; z: num
{{ tag.ID }} |
- {{ val.toFixed(2) }}
+ {{ val.toFixed(2) }} m
|
- {{ val.toFixed(2) }}
+ {{ val.toFixed(2) }}°
|