From b0b8612effe3bc9dd4a0cd186e3b1d38c4b31fa2 Mon Sep 17 00:00:00 2001 From: Jack Vial Date: Fri, 6 Sep 2024 08:44:31 -0400 Subject: [PATCH] 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 9daf2c05..ea47e05b 100644 --- a/lerobot/scripts/control_robot.py +++ b/lerobot/scripts/control_robot.py @@ -739,7 +739,7 @@ if __name__ == "__main__": 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`)", )