Skip to content

Commit

Permalink
offfset idx by trans length
Browse files Browse the repository at this point in the history
  • Loading branch information
srimanachanta committed Oct 19, 2023
1 parent 9e83fef commit 6c31ed4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const quaternionToEuler = (rot_quat: Quaternion): { x: number; y: number; z: num
<td v-for="(val, idx) in Object.values(tag.pose.translation)" :key="idx">
{{ val.toFixed(2) }}
</td>
<td v-for="(val, idx) in Object.values(quaternionToEuler(tag.pose.rotation.quaternion))" :key="idx">
<td v-for="(val, idx) in Object.values(quaternionToEuler(tag.pose.rotation.quaternion))" :key="idx + 4">
{{ val.toFixed(2) }}
</td>
</tr>
Expand Down

0 comments on commit 6c31ed4

Please sign in to comment.