gym_manipulator.py Remove None value action_intervention of BaseLeaderTeleoperator (#1299)

这个提交包含在:
Michel Aractingi
2025-06-14 20:53:40 +02:00
提交者 GitHub
父节点 ce6a26deeb
当前提交 b852d15774

查看文件

@ -1343,7 +1343,7 @@ class BaseLeaderControlWrapper(gym.Wrapper):
# Add intervention info
info["is_intervention"] = is_intervention
info["action_intervention"] = action if is_intervention else None
info["action_intervention"] = action
self.prev_leader_gripper = np.clip(
self.robot_leader.bus.sync_read("Present_Position")["gripper"],