Skip to content

Commit

Permalink
added auto-position
Browse files Browse the repository at this point in the history
  • Loading branch information
aesc-24 committed Jan 16, 2025
1 parent c7eecb3 commit d1abea7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,5 +232,5 @@ export default defineNuxtConfig({
}
},

compatibilityDate: '2025-01-08'
compatibilityDate: '2025-01-14'
})
11 changes: 11 additions & 0 deletions pages/scout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ let scoutData = ref<ScoutingData>({
netMiss: 0,
net: 0,
mobility: false,
position: 0,
},
teleop: {
coralL1: 0,
Expand Down Expand Up @@ -390,6 +391,16 @@ async function submit() {
:default-value="'Mobility'"
:other-value="'Mobility'"
/>
<div class="ml-6">
<br />
<h1 class="text-gray-700 dark:text-gray-200 font-sans font-medium">
Auto Position
</h1>
<SingleSelect
v-model="scoutData.auto.position"
:options="['1', '2', '3', '4']"
/>
</div>
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions utils/databases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export type ScoutingData = {
netMiss: number;
net: number;
mobility: boolean;
position: number;
};
notes: {
notes: string;
Expand Down

0 comments on commit d1abea7

Please sign in to comment.