1 parent d7a0f31 commit 85521dcCopy full SHA for 85521dc
1 file changed
robits/sim/scene/model_factory.py
@@ -320,7 +320,9 @@ def attach_gripper(
320
321
attachment_site = arm_model.site(attachment_blueprint.attachment_site)
322
if attachment_site is None:
323
- logger.error("Unable to find attachment site. Using last body to attach gripper.")
+ logger.error(
324
+ "Unable to find attachment site. Using last body to attach gripper."
325
+ )
326
body = arm_model.bodies[-1]
327
attachment_site = body.add_site(name=attachment_blueprint.attachment_site)
328
0 commit comments