Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadene committed Oct 12, 2024
1 parent b07f91b commit 7115fef
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lerobot/scripts/control_robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@
record_episode,
reset_environment,
sanity_check_dataset_name,
say,
warmup_record,
)
from lerobot.common.robot_devices.robots.factory import make_robot
Expand Down Expand Up @@ -325,9 +324,7 @@ def replay(
if not robot.is_connected:
robot.connect()

logging.info("Replaying episode")
if play_sounds:
say("Replaying episode", blocking=True)
log_say("Replaying episode", blocking=True)
for idx in range(from_idx, to_idx):
start_episode_t = time.perf_counter()

Expand Down

0 comments on commit 7115fef

Please sign in to comment.