From b499e7868284336fc4d52c221289203fbfc97988 Mon Sep 17 00:00:00 2001 From: Jonas Dech Date: Fri, 19 Jan 2024 16:08:07 +0100 Subject: [PATCH] [bullet reasoning] Fixed wrong robot usage --- src/pycram/bullet_world_reasoning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pycram/bullet_world_reasoning.py b/src/pycram/bullet_world_reasoning.py index 9a6c0ee94..3d6af78a9 100644 --- a/src/pycram/bullet_world_reasoning.py +++ b/src/pycram/bullet_world_reasoning.py @@ -320,7 +320,7 @@ def blocking(pose_or_object: Union[Object, Pose], target_map.orientation.w = grasp_orientation[3] try: - inv = request_ik(target_map, robot, joints, gripper_name) + inv = request_ik(target_map, shadow_robot, joints, gripper_name) except IKError as e: rospy.logerr(f"Pose is not reachable: {e}") return None