From b0b8612effe3bc9dd4a0cd186e3b1d38c4b31fa2 Mon Sep 17 00:00:00 2001 From: Jack Vial Date: Fri, 6 Sep 2024 08:44:31 -0400 Subject: [PATCH 1/7] fix(calibrate): fix calibrate arms option type. should be str not int (#418) Co-authored-by: Remi --- lerobot/scripts/control_robot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerobot/scripts/control_robot.py b/lerobot/scripts/control_robot.py index 9daf2c051..ea47e05b2 100644 --- a/lerobot/scripts/control_robot.py +++ b/lerobot/scripts/control_robot.py @@ -739,7 +739,7 @@ def replay(robot: Robot, episode: int, fps: int | None = None, root="data", repo parser_calib = subparsers.add_parser("calibrate", parents=[base_parser]) parser_calib.add_argument( "--arms", - type=int, + type=str, nargs="*", help="List of arms to calibrate (e.g. `--arms left_follower right_follower left_leader`)", ) From d6516f0e0308ac45beb9e2e2ba4aac081624cd2b Mon Sep 17 00:00:00 2001 From: Mishig Date: Fri, 6 Sep 2024 17:07:26 +0200 Subject: [PATCH 2/7] [Visualization tool] Fix when dim state != dim action (#415) --- .../templates/visualize_dataset_template.html | 65 ++++++++++--------- 1 file changed, 36 insertions(+), 29 deletions(-) diff --git a/lerobot/templates/visualize_dataset_template.html b/lerobot/templates/visualize_dataset_template.html index 3dbe9c25c..e22631d8c 100644 --- a/lerobot/templates/visualize_dataset_template.html +++ b/lerobot/templates/visualize_dataset_template.html @@ -183,9 +183,9 @@