Skip to content

Commit ecd6cf4

Browse files
committed
Add scale info to g_param for mesh
1 parent a203561 commit ecd6cf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytorch_kinematics/urdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def _convert_visual(visual):
2727
v_tf = _convert_transform(visual.origin)
2828
if isinstance(visual.geometry, Mesh):
2929
g_type = "mesh"
30-
g_param = visual.geometry.filename
30+
g_param = (visual.geometry.filename, visual.geometry.scale)
3131
elif isinstance(visual.geometry, Cylinder):
3232
g_type = "cylinder"
3333
g_param = (visual.geometry.radius, visual.geometry.length)

0 commit comments

Comments
 (0)