Skip to content

Commit

Permalink
switch width to meters
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Oct 8, 2023
1 parent 5ee7fdf commit 3980e66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions photon-client/src/components/settings/ApriltagControlCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const degrees = (radians: number): number => (radians * 180) / Math.PI;
<v-card dark class="mb-3 pr-6 pb-3" style="background-color: #006492">
<v-card-title>Apriltag Layout</v-card-title>
<div class="ml-5">
<p>Field width: {{ (useSettingsStore().currentFieldLayout.field.width * 3.28084).toFixed(2) }} ft</p>
<p>Field length: {{ (useSettingsStore().currentFieldLayout.field.length * 3.28084).toFixed(2) }} ft</p>
<p>Field width: {{ useSettingsStore().currentFieldLayout.field.width.toFixed(2) }} meters</p>
<p>Field length: {{ useSettingsStore().currentFieldLayout.field.length.toFixed(2) }} meters</p>

<!-- Simple table height must be set here and in the CSS for the fixed-header to work -->
<v-simple-table fixed-header height="100%" dense dark>
Expand Down

0 comments on commit 3980e66

Please sign in to comment.