Skip to content

Script python -m lerobot.calibrate --teleop.type=so101_leader --teleop.port=/dev/ttyACM1 --teleop.id=the_leader does not create calibration file #1328

Open
@FaboNo

Description

@FaboNo

System Info

Hi

If someone can tell me how to retrieve the lerobot version I will be nice

I noticed that when I tried to calibrate the leader, the script does not create a calibration json file 

Only the calibration of the follower successfully created the file the json file.

I will have a look to check where it happens - or what is the equation to update the json file knowing the table created by the calibration process?

Information

  • One of the scripts in the examples/ folder of LeRobot
  • My own task or dataset (give details below)

Reproduction

enter:
python -m lerobot.calibrate --teleop.type=so101_leader --teleop.port=/dev/ttyACM1 --teleop.id=the_leader
the table is properly updated:

NAME | MIN | POS | MAX
shoulder_pan | 903 | 2026 | 3346
shoulder_lift | 838 | 847 | 3175
elbow_flex | 928 | 3134 | 3140
wrist_flex | 921 | 2552 | 3115
wrist_roll | 119 | 1977 | 3925
gripper | 2046 | 2050 | 3246
and when I press 'enter' - there is .json file created

Expected behavior

The following message for the leader
Calibration saved to /home/fabrice/.cache/huggingface/lerobot/calibration/robots/so101_follower/follower.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions