mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-30 02:31:40 +00:00
[UI] Fix target tab under AprilTag (#478)
* Start addressing things * Fix target tab table * Update TrackedTarget.java
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
name="Decimate"
|
||||
min="0"
|
||||
max="3"
|
||||
step=".01"
|
||||
step=".5"
|
||||
@input="handlePipelineData('decimate')"
|
||||
/>
|
||||
<CVslider
|
||||
|
||||
@@ -35,18 +35,7 @@
|
||||
Area, %
|
||||
</th>
|
||||
</template>
|
||||
<template v-else-if="$store.getters.pipelineType === 4 && $store.getters.currentPipelineSettings.solvePNPEnabled">
|
||||
<th class="text-center">
|
||||
X, m
|
||||
</th>
|
||||
<th class="text-center">
|
||||
Y, m
|
||||
</th>
|
||||
<th class="text-center">
|
||||
Z Angle, °
|
||||
</th>
|
||||
</template>
|
||||
<template v-else-if="$store.getters.currentPipelineSettings.solvePNPEnabled">
|
||||
<template v-else>
|
||||
<th class="text-center">
|
||||
X, m
|
||||
</th>
|
||||
@@ -75,7 +64,6 @@
|
||||
<td>{{ parseFloat(value.area).toFixed(2) }}</td>
|
||||
</template>
|
||||
<template v-else-if="$store.getters.currentPipelineSettings.solvePNPEnabled && $store.getters.pipelineType === 4">
|
||||
<td>{{ parseInt(value.fiducialId) }} </td>
|
||||
<td>{{ parseFloat(value.pose.x).toFixed(2) }} m</td>
|
||||
<td>{{ parseFloat(value.pose.y).toFixed(2) }} m</td>
|
||||
<td>{{ (parseFloat(value.pose.angle_z) * 180 / Math.PI).toFixed(2) }}°</td>
|
||||
|
||||
Reference in New Issue
Block a user