Skip to content

Commit ee5525f

Browse files
authored
Docs: adapt text + fix video code (#1064)
1 parent a1daeaf commit ee5525f

File tree

2 files changed

+53
-43
lines changed

2 files changed

+53
-43
lines changed

docs/source/assemble_so101.mdx

Lines changed: 50 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,11 @@ class So101RobotConfig(ManipulatorRobotConfig):
143143
```
144144

145145
Here is a video of the process:
146-
<video controls width="600">
147-
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/lerobot-find-motorbus.mp4" type="video/mp4" />
148-
Your browser does not support the video tag.
149-
</video>
146+
<div class="video-container">
147+
<video controls width="600">
148+
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/lerobot-find-motorbus.mp4" type="video/mp4" />
149+
</video>
150+
</div>
150151

151152
## Step-by-Step Assembly Instructions
152153

@@ -186,10 +187,11 @@ python lerobot/scripts/configure_motor.py \
186187
Redo this process for all your motors until ID 6. Do the same for the 6 motors of the leader arm, but make sure to change the power supply if you use motors with different voltage and make sure you give the right ID to the right motor according to the table above.
187188

188189
Here is a video of the process:
189-
<video controls width="600">
190-
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/lerobot-configure-motor.mp4" type="video/mp4" />
191-
Your browser does not support the video tag.
192-
</video>
190+
<div class="video-container">
191+
<video controls width="600">
192+
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/lerobot-configure-motor.mp4" type="video/mp4" />
193+
</video>
194+
</div>
193195

194196
### Clean Parts
195197
Remove all support material from the 3D-printed parts, the easiest wat to do this is using a small screwdriver to get underneath the support material.
@@ -204,10 +206,11 @@ Remove all support material from the 3D-printed parts, the easiest wat to do thi
204206
- Tighten the shoulder part with 4 M3x6mm screws on top and 4 M3x6mm screws on the bottom
205207
- Add the shoulder motor holder.
206208

207-
<video controls width="600">
208-
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Joint1_v2.mp4" type="video/mp4" />
209-
Your browser does not support the video tag.
210-
</video>
209+
<div class="video-container">
210+
<video controls width="600">
211+
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Joint1_v2.mp4" type="video/mp4" />
212+
</video>
213+
</div>
211214

212215
### Joint 2
213216

@@ -216,43 +219,47 @@ Remove all support material from the 3D-printed parts, the easiest wat to do thi
216219
- Attach both motor horns to motor 2, again use the M3x6mm horn screw.
217220
- Attach the upper arm with 4 M3x6mm screws on each side.
218221

219-
<video controls width="600">
220-
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Joint2_v2.mp4" type="video/mp4" />
221-
Your browser does not support the video tag.
222-
</video>
222+
<div class="video-container">
223+
<video controls width="600">
224+
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Joint2_v2.mp4" type="video/mp4" />
225+
</video>
226+
</div>
223227

224228
### Joint 3
225229

226230
- Insert motor 3 and fasten using 4 M2x6mm screws
227231
- Attach both motor horns to motor 3 and secure one again with a M3x6mm horn screw.
228232
- Connect the forearm to motor 3 using 4 M3x6mm screws on each side.
229233

230-
<video controls width="600">
231-
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Joint3_v2.mp4" type="video/mp4" />
232-
Your browser does not support the video tag.
233-
</video>
234+
<div class="video-container">
235+
<video controls width="600">
236+
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Joint3_v2.mp4" type="video/mp4" />
237+
</video>
238+
</div>
234239

235240
### Joint 4
236241

237242
- Slide over motor holder 4.
238243
- Slide in motor 4.
239244
- Fasten motor 4 with 4 M2x6mm screws and attach its motor horns, use a M3x6mm horn screw.
240245

241-
<video controls width="600">
242-
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Joint4_v2.mp4" type="video/mp4" />
243-
Your browser does not support the video tag.
244-
</video>
246+
<div class="video-container">
247+
<video controls width="600">
248+
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Joint4_v2.mp4" type="video/mp4" />
249+
</video>
250+
</div>
245251

246252
### Joint 5
247253

248254
- Insert motor 5 into the wrist holder and secure it with 2 M2x6mm front screws.
249255
- Install only one motor horn on the wrist motor and secure it with a M3x6mm horn screw.
250256
- Secure the wrist to motor 4 using 4 M3x6mm screws on both sides.
251257

252-
<video controls width="600">
253-
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Joint5_v2.mp4" type="video/mp4" />
254-
Your browser does not support the video tag.
255-
</video>
258+
<div class="video-container">
259+
<video controls width="600">
260+
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Joint5_v2.mp4" type="video/mp4" />
261+
</video>
262+
</div>
256263

257264
### Gripper / Handle
258265

@@ -264,10 +271,11 @@ Remove all support material from the 3D-printed parts, the easiest wat to do thi
264271
- Attach the motor horns and again use a M3x6mm horn screw.
265272
- Install the gripper claw and secure it with 4 M3x6mm screws on both sides.
266273

267-
<video controls width="600">
268-
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Gripper_v2.mp4" type="video/mp4" />
269-
Your browser does not support the video tag.
270-
</video>
274+
<div class="video-container">
275+
<video controls width="600">
276+
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Gripper_v2.mp4" type="video/mp4" />
277+
</video>
278+
</div>
271279

272280
</hfoption>
273281
<hfoption id="Leader">
@@ -277,10 +285,11 @@ Remove all support material from the 3D-printed parts, the easiest wat to do thi
277285
- Insert the gripper motor, secure it with 2 M2x6mm screws on each side, attach a motor horn using a M3x6mm horn screw.
278286
- Attach the follower trigger with 4 M3x6mm screws.
279287

280-
<video controls width="600">
281-
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Leader_v2.mp4" type="video/mp4" />
282-
Your browser does not support the video tag.
283-
</video>
288+
<div class="video-container">
289+
<video controls width="600">
290+
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Leader_v2.mp4" type="video/mp4" />
291+
</video>
292+
</div>
284293

285294
</hfoption>
286295
</hfoptions>
@@ -290,10 +299,11 @@ Remove all support material from the 3D-printed parts, the easiest wat to do thi
290299
- Attach the motor controller on the back.
291300
- Then insert all wires, use the wire guides everywhere to make sure the wires don't unplug themself and stay in place.
292301

293-
<video controls width="600">
294-
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Wiring_v2.mp4" type="video/mp4" />
295-
Your browser does not support the video tag.
296-
</video>
302+
<div class="video-container">
303+
<video controls width="600">
304+
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/Wiring_v2.mp4" type="video/mp4" />
305+
</video>
306+
</div>
297307

298308
## Calibrate
299309

docs/source/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010

1111
🤗 LeRobot aims to provide models, datasets, and tools for real-world robotics in PyTorch. The goal is to lower the barrier for entry to robotics so that everyone can contribute and benefit from sharing datasets and pretrained models.
1212

13-
🤗 LeRobot contains state-of-the-art approaches that have been shown to transfer to the real-world with a focus on imitation learning and reinforcement learning: github.com/huggingface/lerobot
13+
🤗 LeRobot contains state-of-the-art approaches that have been shown to transfer to the real-world with a focus on imitation learning and reinforcement learning.
1414

15-
🤗 LeRobot already provides a set of pretrained models, datasets with human collected demonstrations, and simulated environments so that everyone can get started. In the coming weeks, the plan is to add more and more support for real-world robotics on the most affordable and capable robots out there.
15+
🤗 LeRobot already provides a set of pretrained models, datasets with human collected demonstrations, and simulated environments so that everyone can get started.
1616

17-
🤗 LeRobot hosts pretrained models and datasets on this HuggingFace community page: huggingface.co/lerobot
17+
🤗 LeRobot hosts pretrained models and datasets on the LeRobot HuggingFace page.
1818

1919
Join the LeRobot community on [Discord](https://discord.gg/s3KuuzsPFb)

0 commit comments

Comments
 (0)