Skip to content

Commit

Permalink
Update ApriltagControlCard.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Oct 2, 2023
1 parent 2d08030 commit f5a5cfc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ const degrees = (radians: number): number => (radians * 180) / Math.PI;
<td v-for="(val, idx) in Object.values(tag.pose.translation).slice(0, 3).map(degrees)" :key="idx">
{{ val.toFixed(2) }}
</td>
<td v-for="(val, idx) in Object.values(quatToEuler(tag.pose.rotation.quaternion)).slice(0, 3).map(degrees)" :key="idx">
<td
v-for="(val, idx) in Object.values(quatToEuler(tag.pose.rotation.quaternion)).slice(0, 3).map(degrees)"
:key="idx"
>
{{ val.toFixed(2) }}
</td>
</tr>
Expand Down

0 comments on commit f5a5cfc

Please sign in to comment.