From b852d157740817082121d12c1e21412599b19003 Mon Sep 17 00:00:00 2001 From: Michel Aractingi Date: Sat, 14 Jun 2025 20:53:40 +0200 Subject: [PATCH] `gym_manipulator.py` Remove None value action_intervention of BaseLeaderTeleoperator (#1299) --- lerobot/scripts/rl/gym_manipulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerobot/scripts/rl/gym_manipulator.py b/lerobot/scripts/rl/gym_manipulator.py index 3d2a6277..e7327d96 100644 --- a/lerobot/scripts/rl/gym_manipulator.py +++ b/lerobot/scripts/rl/gym_manipulator.py @@ -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"],