Bye Bye Moore

PoCソルジャーな零細事業主が作業メモを残すブログ

機械学習の人に人気なLeRobot So101を作ってみる その5:Webカメラを追加

実際のところ

github.com
github.com
github.com
の三つのパーツを印刷
縦にデカいのでBumbu P1Sで4時間ほど

SO-ARM100/Optional/Overhead_Cam_Mount_Webcam/README.md at main · TheRobotStudio/SO-ARM100 · GitHub
を参考に組み立てる
ネジは本体を組んだ時に余ったM2のスクリューネジを使用

カメラ画像を見ながら

Getting Started with Real-World Robots

$ python3 -m lerobot.teleoperate \
    --robot.type=so101_follower \
    --robot.port=/dev/ttyACM1 \
    --robot.id=myfollower \
    --robot.cameras="{ front: {type: opencv, index_or_path: 0, width: 1920, height: 1080, fps: 30}}" \
    --teleop.type=so101_leader \
    --teleop.port=/dev/ttyACM2 \
    --teleop.id=myleader \
    --display_data=true