Skip to content

Commit ff5cab0

Browse files
More linting
Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
1 parent 78bf8d2 commit ff5cab0

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • sdformat_mjcf/src/sdformat_mjcf/sdformat_to_mjcf/converters

sdformat_mjcf/src/sdformat_mjcf/sdformat_to_mjcf/converters/geometry.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,11 @@ def add_geometry(body, name, pose, sdf_geom, is_visual=False):
143143
def _add_mesh_geom_with_assets(body, name, pose, mjcf_mesh_asset,
144144
mjcf_material_asset=None):
145145
geom = body.add(
146-
"geom",
147-
name=su.find_unique_name(body, "geom", name),
148-
pos=su.vec3d_to_list(pose.pos()),
149-
euler=su.quat_to_euler_list(pose.rot()),
150-
)
146+
"geom",
147+
name=su.find_unique_name(body, "geom", name),
148+
pos=su.vec3d_to_list(pose.pos()),
149+
euler=su.quat_to_euler_list(pose.rot()),
150+
)
151151
geom.type = "mesh"
152152
geom.mesh = mjcf_mesh_asset
153153
if mjcf_material_asset:
@@ -208,8 +208,8 @@ def convert_and_add_mesh(body, name, pose, sdf_mesh, is_visual=False):
208208
specular=info.mat.specular, shininess=info.mat.shininess,
209209
rgba=info.mat.rgba)
210210
geom_list.append(
211-
_add_mesh_geom_with_assets(body, name, pose, mesh,
212-
mjcf_material_asset=material_asset))
211+
_add_mesh_geom_with_assets(body, name, pose, mesh,
212+
mjcf_material_asset=material_asset))
213213

214214
return geom_list
215215

0 commit comments

Comments
 (0)