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

This commit is contained in:
Michel Aractingi
2025-06-14 20:53:40 +02:00
committed by GitHub
parent ce6a26deeb
commit b852d15774

View File

@@ -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"],