Skip to content

Commit e7e1f3a

Browse files
authored
Merge pull request #21 from UM-ARM-Lab/add_scale_info_to_geom
Add scale info to g_param for mesh
2 parents a203561 + ecd6cf4 commit e7e1f3a

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)