From d1abea7408e51364483d4dcbee8eb8a1d9858751 Mon Sep 17 00:00:00 2001 From: aesc-24 Date: Thu, 16 Jan 2025 15:33:00 -0500 Subject: [PATCH] added auto-position --- nuxt.config.ts | 2 +- pages/scout.vue | 11 +++++++++++ utils/databases.ts | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 6f0e5e1..5ebbc2b 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -232,5 +232,5 @@ export default defineNuxtConfig({ } }, - compatibilityDate: '2025-01-08' + compatibilityDate: '2025-01-14' }) \ No newline at end of file diff --git a/pages/scout.vue b/pages/scout.vue index 22a4503..d3fc12b 100644 --- a/pages/scout.vue +++ b/pages/scout.vue @@ -82,6 +82,7 @@ let scoutData = ref({ netMiss: 0, net: 0, mobility: false, + position: 0, }, teleop: { coralL1: 0, @@ -390,6 +391,16 @@ async function submit() { :default-value="'Mobility'" :other-value="'Mobility'" /> +
+
+

+ Auto Position +

+ +
diff --git a/utils/databases.ts b/utils/databases.ts index 6b8282e..b6c7b5e 100644 --- a/utils/databases.ts +++ b/utils/databases.ts @@ -118,6 +118,7 @@ export type ScoutingData = { netMiss: number; net: number; mobility: boolean; + position: number; }; notes: { notes: string;