Skip to content

Commit 48551f0

Browse files
authored
RSDK-6492 - ViamObject3D should not be in in degrees (#472)
1 parent 5555792 commit 48551f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/blocks/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@viamrobotics/prime-blocks",
3-
"version": "0.0.26",
3+
"version": "0.0.27",
44
"publishConfig": {
55
"access": "public"
66
},

packages/blocks/src/lib/navigation-map/components/obstacle.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ useMapLibreEvent('mousedown', handleMapPointerDown);
162162
{name}
163163
obstacle={name}
164164
userData.lngLat={obstacle.location}
165-
rotation.y={geometry.pose.orientationVector.th * THREE.MathUtils.DEG2RAD}
165+
rotation.y={geometry.pose.orientationVector.th}
166166
on:pointerenter={() => ($hovered = name)}
167167
on:pointerleave={() => ($hovered = null)}
168168
on:pointerdown={() => handlePointerDown()}

0 commit comments

Comments
 (0)