diff --git a/examples/7_get_started_with_real_robot.md b/examples/7_get_started_with_real_robot.md index 894c44a3..59accd7f 100644 --- a/examples/7_get_started_with_real_robot.md +++ b/examples/7_get_started_with_real_robot.md @@ -87,7 +87,7 @@ python lerobot/scripts/configure_motor.py \ --brand dynamixel \ --model xl330-m288 \ --baudrate 1000000 \ - --ID 1 + --id 1 ``` Then unplug your first motor and plug the second motor and set its ID to 2. @@ -97,7 +97,7 @@ python lerobot/scripts/configure_motor.py \ --brand dynamixel \ --model xl330-m288 \ --baudrate 1000000 \ - --ID 2 + --id 2 ``` Redo the process for all your motors until ID 6. diff --git a/lerobot/common/robots/moss/README.md b/lerobot/common/robots/moss/README.md index d2e02076..de7dd156 100644 --- a/lerobot/common/robots/moss/README.md +++ b/lerobot/common/robots/moss/README.md @@ -139,7 +139,7 @@ python lerobot/scripts/configure_motor.py \ --brand feetech \ --model sts3215 \ --baudrate 1000000 \ - --ID 1 + --id 1 ``` Note: These motors are currently limitated. They can take values between 0 and 4096 only, which corresponds to a full turn. They can't turn more than that. 2048 is at the middle of this range, so we can take -2048 steps (180 degrees anticlockwise) and reach the maximum range, or take +2048 steps (180 degrees clockwise) and reach the maximum range. The configuration step also sets the homing offset to 0, so that if you misassembled the arm, you can always update the homing offset to account for a shift up to ± 2048 steps (± 180 degrees). @@ -151,7 +151,7 @@ python lerobot/scripts/configure_motor.py \ --brand feetech \ --model sts3215 \ --baudrate 1000000 \ - --ID 2 + --id 2 ``` Redo the process for all your motors until ID 6. Do the same for the 6 motors of the leader arm. diff --git a/lerobot/common/robots/so100/README.md b/lerobot/common/robots/so100/README.md index b8b45aa5..297667df 100644 --- a/lerobot/common/robots/so100/README.md +++ b/lerobot/common/robots/so100/README.md @@ -191,7 +191,7 @@ python lerobot/scripts/configure_motor.py \ --brand feetech \ --model sts3215 \ --baudrate 1000000 \ - --ID 1 + --id 1 ``` > [!NOTE] @@ -204,7 +204,7 @@ python lerobot/scripts/configure_motor.py \ --brand feetech \ --model sts3215 \ --baudrate 1000000 \ - --ID 2 + --id 2 ``` Redo the process for all your motors until ID 6. Do the same for the 6 motors of the leader arm. diff --git a/lerobot/scripts/configure_motor.py b/lerobot/scripts/configure_motor.py index 617db2fc..b434fed6 100644 --- a/lerobot/scripts/configure_motor.py +++ b/lerobot/scripts/configure_motor.py @@ -21,7 +21,7 @@ python lerobot/scripts/configure_motor.py \ --brand feetech \ --model sts3215 \ --baudrate 1000000 \ - --ID 1 + --id 1 ``` """ @@ -131,10 +131,10 @@ if __name__ == "__main__": parser.add_argument("--port", type=str, required=True, help="Motors bus port") parser.add_argument("--brand", type=str, required=True, choices=brand_choices, help="Motor brand") parser.add_argument("--model", type=str, required=True, choices=model_choices, help="Motor model") - parser.add_argument("--ID", type=int, required=True, help="Desired ID of the current motor (e.g. 1,2,3)") + parser.add_argument("--id", type=int, required=True, help="Desired ID of the current motor (e.g. 1,2,3)") parser.add_argument( "--baudrate", type=int, default=1_000_000, help="Desired baudrate for the motor (default: 1_000_000)" ) args = parser.parse_args() - configure_motor(args.port, args.brand, args.model, args.ID, args.baudrate) + configure_motor(args.port, args.brand, args.model, args.id, args.baudrate)