Skip to content

Commit 22f32dd

Browse files
(fix) gym_manipulator.py Remove None value in BaseLeaderTeleoperator
1 parent 697c76f commit 22f32dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lerobot/scripts/rl/gym_manipulator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,7 +1343,7 @@ def step(self, action):
13431343

13441344
# Add intervention info
13451345
info["is_intervention"] = is_intervention
1346-
info["action_intervention"] = action if is_intervention else None
1346+
info["action_intervention"] = action
13471347

13481348
self.prev_leader_gripper = np.clip(
13491349
self.robot_leader.bus.sync_read("Present_Position")["gripper"],

0 commit comments

Comments
 (0)