最近、Isaac Labで強化学習していますが、sim2simしかできていなかったので、実物のロボットが欲しいと思い、手頃な値段のSO-101を買ってみました。
3Dプリンタでパーツを印刷するところから、キャリブレーションしてテレオペレーション操作するやり方までできたので、そのやり方を紹介します。
3Dプリンタでパーツの印刷
以下のMaker Worldのページの”Bambu Studioで開く”からデータをダウンロードできます。
URL:https://makerworld.com/ja/models/1399268-lerobot-so-101-arms-_-updated#profileId-1450759
以下の記事で紹介したBambu Lab A1 miniという3Dプリンタで印刷しました。

設定をそのまま印刷したら印刷途中で剥がれてしまったりするパーツがあるので、いろいろ変更しました。
アームの部分のパーツは上下反転させた方が上手く印刷できました。
また、ダウンロードしたデータでは一回で複数のパーツを印刷するようになっていますが、失敗したとき全てやり直しになってしまうので、一つ以外を無効にして、一つずつ印刷しました。
モータの設定
以下のGithubのレポジトリをクローンします。
URL:https://github.com/huggingface/lerobot
モータドライバ基盤とPCをUSBケーブルでつないだ状態で以下のコマンドを実行します。
|
1 |
lerobot-find-port |
以下のようにメッセージがでます。
|
1 2 |
Ports before disconnecting: ['COM3', 'COM4', 'COM5'] Remove the USB cable from your MotorsBus and press Enter when done. |
ここでUSBケーブルをPCから外してエンターを押すと、次のようなメッセージがでてUSBケーブルのポートが分かります。
|
1 2 |
The port of this MotorsBus is 'COM5' Reconnect the USB cable. |
上記で分かったポートを以下のコマンドの引数で指定して実行します。
|
1 |
lerobot-setup-motors --robot.type=so101_follower --robot.port=COM5 |
メッセージに従ってモータを制御基板につなげてエンターを押すを繰り返していきます。
|
1 2 3 4 5 6 7 8 9 10 11 12 |
Connect the controller board to the 'gripper' motor only and press enter. 'gripper' motor id set to 6 Connect the controller board to the 'wrist_roll' motor only and press enter. 'wrist_roll' motor id set to 5 Connect the controller board to the 'wrist_flex' motor only and press enter. 'wrist_flex' motor id set to 4 Connect the controller board to the 'elbow_flex' motor only and press enter. 'elbow_flex' motor id set to 3 Connect the controller board to the 'shoulder_lift' motor only and press enter. 'shoulder_lift' motor id set to 2 Connect the controller board to the 'shoulder_pan' motor only and press enter. 'shoulder_pan' motor id set to 1 |
同様に、リーダロボット用のモータにも以下のコマンドを実行してモータIDを設定します。
|
1 |
lerobot-setup-motors --teleop.type=so101_leader --teleop.port=COM6 |
同様に、メッセージに従ってモータを制御基板につなげてエンターを押すを繰り返していきます。
|
1 2 3 4 5 6 7 8 9 10 11 12 |
Connect the controller board to the 'gripper' motor only and press enter. 'gripper' motor id set to 6 Connect the controller board to the 'wrist_roll' motor only and press enter. 'wrist_roll' motor id set to 5 Connect the controller board to the 'wrist_flex' motor only and press enter. 'wrist_flex' motor id set to 4 Connect the controller board to the 'elbow_flex' motor only and press enter. 'elbow_flex' motor id set to 3 Connect the controller board to the 'shoulder_lift' motor only and press enter. 'shoulder_lift' motor id set to 2 Connect the controller board to the 'shoulder_pan' motor only and press enter. 'shoulder_pan' motor id set to 1 |
パーツの組み立て
以下のHugging Faceのページにある動画を見ると分かりやすいです。
URL:https://huggingface.co/docs/lerobot/so101
キャリブレーションとテレオペレーション
以下のコマンドを実行します。
|
1 |
lerobot-calibrate --robot.type=so101_follower --robot.port=COM5 --robot.id=my_follower_arm |
以下のメッセージがでますので、最後の指示に従ってロボットを手で動かしてEnterを押します。
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
INFO 2026-10-01 22:52:30 calibrate.py:89 {'robot': {'calibration_dir': None, 'cameras': {}, 'disable_torque_on_disconnect': True, 'id': 'my_follower_arm', 'max_relative_target': None, 'num_read_retries': 2, 'port': 'COM5', 'position_d_coefficient': 32, 'position_i_coefficient': 0, 'position_p_coefficient': 16, 'use_degrees': True}, 'teleop': None} INFO 2026-10-01 22:52:30 follower.py:109 my_follower_arm SOFollower connected. INFO 2026-10-01 22:52:30 follower.py:126 Running calibration of my_follower_arm SOFollower Move my_follower_arm SOFollower to the middle of its range of motion and press ENTER.... |
次のメッセージに従ってロボットを手で動かして絵Enterを押します。
|
1 2 3 4 5 6 7 8 9 10 |
Move all joints except 'wrist_roll' sequentially through their entire ranges of motion. Recording positions. Press ENTER to stop... ------------------------------------------- NAME | MIN | POS | MAX shoulder_pan | 835 | 3388 | 3390 shoulder_lift | 856 | 1323 | 3238 elbow_flex | 826 | 2025 | 3048 wrist_flex | 822 | 997 | 3154 gripper | 2016 | 2020 | 3532 |
これでキャリブレーションしたデータが保存されます。
同様に、リーダロボットのキャリブレーションをするために以下のコマンドを実行します。
|
1 |
lerobot-calibrate --teleop.type=so101_leader --teleop.port=COM6 --teleop.id=my_leader_arm |
フォロワロボットの時と同様の姿勢し、Enterを押します。
|
1 2 3 4 5 6 7 8 9 10 |
INFO 2026-10-02 23:39:53 calibrate.py:89 {'robot': None, 'teleop': {'calibration_dir': None, 'id': 'my_leader_arm', 'num_read_retries': 2, 'port': 'COM6', 'use_degrees': True}} INFO 2026-10-02 23:39:53 so_leader.py:78 my_leader_arm SOLeader connected. INFO 2026-10-02 23:39:53 so_leader.py:95 Running calibration of my_leader_arm SOLeader Move my_leader_arm SOLeader to the middle of its range of motion and press ENTER.... |
再度ロボットを動かして、完了したら保存するためにEnterを押します。
|
1 2 3 4 5 6 7 8 9 10 |
Move all joints except 'wrist_roll' sequentially through their entire ranges of motion. Recording positions. Press ENTER to stop... ------------------------------------------- NAME | MIN | POS | MAX shoulder_pan | 711 | 2425 | 3326 shoulder_lift | 836 | 1455 | 3216 elbow_flex | 887 | 2182 | 3088 wrist_flex | 843 | 3179 | 3199 gripper | 2037 | 2051 | 3191 |
これで両方のロボットのキャリブレーションが完了したので、以下のコマンドを実行してテレオペレーションを実行します。
|
1 |
lerobot-teleoperate --robot.type=so101_follower --robot.port=COM5 --robot.id=my_follower_arm --teleop.type=so101_leader --teleop.port=COM6 --teleop.id=my_leader_arm |
実行できたら、リーダロボットを手で動かすと、フォロワロボットが追従して動いてくれます。
まとめ
Isaac Labで使える実物のロボットが欲しくてSO-101を購入し、動かせるところまで作ることができました。
次はこのロボットを使った強化学習をやってみたいと思います。
ロボットに関連した他の記事
Isaac Labの記事



コメント