From 4485cc0b5bd54437b451292135be77cc838c689b Mon Sep 17 00:00:00 2001
From: Pepijn <138571049+pkooij@users.noreply.github.com>
Date: Fri, 9 May 2025 11:00:25 +0200
Subject: [PATCH 1/4] docs: minor corrections and clean-up (#1089)
---
docs/source/assemble_so101.mdx | 12 +++++++-----
docs/source/getting_started_real_world_robot.mdx | 4 ++--
examples/12_use_so101.md | 8 +++++---
3 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/docs/source/assemble_so101.mdx b/docs/source/assemble_so101.mdx
index 3150061bd..de280a392 100644
--- a/docs/source/assemble_so101.mdx
+++ b/docs/source/assemble_so101.mdx
@@ -96,8 +96,8 @@ Reconnect the usb cable.
#### Update config file
Now that you have your ports, update the **port** default values of [`SO101RobotConfig`](https://github.com/huggingface/lerobot/blob/main/lerobot/common/robot_devices/robots/configs.py).
-You will find something like, update the `port` values with your actual motor ports:
-```python
+You will find a class called `so101` where you can update the `port` values with your actual motor ports:
+```diff
@RobotConfig.register_subclass("so101")
@dataclass
class So101RobotConfig(ManipulatorRobotConfig):
@@ -110,7 +110,8 @@ class So101RobotConfig(ManipulatorRobotConfig):
leader_arms: dict[str, MotorsBusConfig] = field(
default_factory=lambda: {
"main": FeetechMotorsBusConfig(
- port="/dev/tty.usbmodem58760431091", <-- UPDATE HERE
+- port="/dev/tty.usbmodem58760431091",
++ port="{ADD YOUR LEADER PORT}",
motors={
# name: (index, model)
"shoulder_pan": [1, "sts3215"],
@@ -127,7 +128,8 @@ class So101RobotConfig(ManipulatorRobotConfig):
follower_arms: dict[str, MotorsBusConfig] = field(
default_factory=lambda: {
"main": FeetechMotorsBusConfig(
- port="/dev/tty.usbmodem585A0076891", <-- UPDATE HERE
+- port="/dev/tty.usbmodem585A0076891",
++ port="{ADD YOUR FOLLOWER PORT}",
motors={
# name: (index, model)
"shoulder_pan": [1, "sts3215"],
@@ -297,7 +299,7 @@ Remove all support material from the 3D-printed parts, the easiest way to do thi
##### Wiring
- Attach the motor controller on the back.
-- Then insert all wires, use the wire guides everywhere to make sure the wires don't unplug themself and stay in place.
+- Then insert all wires, use the wire guides everywhere to make sure the wires don't unplug themselves and stay in place.