You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In all the following examples, replace `so101_follower` with the actual model of the robotic arm you are using (e.g., `so100` / `so101`).
670
+
671
+
672
+
We have added the `focus_area` hyperparameter. Since depth data that is too far away is meaningless forthe robotic arm (it cannot reach or grasp objects), depth data less than or greater than the `focus_area` will be displayedin black. The default `focus_area` is (20, 600).
673
+
Currently, the only supported resolution is width: 640, height: 880.
For subsequent tasks such as data collection, training, and evaluation, the process is the same as that forregular RGB commands. You only need to replace the relevant partin the regular RGB command with:
For videos covering the StarAI Robotic Arm from unboxing to teleoperation, you may refer to:
298
+
<divclass="video-container">
299
+
<iframewidth="900"height="600"src="https://www.youtube.com/embed/02lxxF9Cvy8?si=IGJda5nXkYEbm2N6"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"referrerpolicy="strict-origin-when-cross-origin"allowfullscreen></iframe>
300
+
</div>
298
301
299
-
Please rotate each joint left and right to the corresponding positions.
302
+
Move the robotic arm to the initial position of the robotic arm (as shown in the figure below) and place it in standby mode, then reconnect the power supply. For the initial position of the new version of the robotic arm, special attention should be paid to ensuring that the servos of Joints 3, 4, and 5 strictly align with the positions in the figure.
300
303
301
-
### For Re-Calibration
302
304
303
-
Follow the on-screen prompt: enter the letter "c" and press the Enter key.
Below are the reference values. Under normal circumstances, the actual limit reference values should fall within the range of **±10°** of these references.
309
+
Initial position of the old-version robotic arm (special attention should be paid to ensuring that the servos of Joints 3, 4, and 5 strictly align with the positions in the figure; the initial position of the new-version robotic arm can also be used as a reference):
| motor\_0 | -180° | 180° | Rotate to the limit position |
310
-
| motor\_1 | -90° | 90° | Rotate to the limit position |
311
-
| motor\_2 | -90° | 90° | Rotate to the limit position |
312
-
| motor\_3 | -180° | 180° | No limit; rotate to the reference angle limits |
313
-
| motor\_4 | -90° | 90° | Rotate to the limit position |
314
-
| motor\_5 | -180° | 180° | No limit; rotate to the reference angle limits |
315
-
| motor\_6 | 0° | 100° | Rotate to the limit position |
316
315
317
316
:::tip
318
317
Taking PC (Linux) and Jetson board as examples, the `first` USB device inserted will be mapped to `ttyUSB0`, and the `second` USB device inserted will be mapped to `ttyUSB1`.
@@ -328,6 +327,8 @@ Connect the leader to `/dev/ttyUSB0`, or modify the `--teleop.port` parameter, a
After startup, you will see the encoder values of each joint. You need to manually calibrate each joint one by one: rotate each joint to its maximum and minimum positions. For joints without limit stops, the rotation range must not exceed 180° clockwise or 180° counterclockwise. After calibrating all joints, press Enter to save the settings.
331
+
331
332
#### Follower Robotic Arm
332
333
333
334
Connect the follower to `/dev/ttyUSB1`, or modify the `--teleop.port` parameter, and then execute:
@@ -336,7 +337,7 @@ Connect the follower to `/dev/ttyUSB1`, or modify the `--teleop.port` parameter,
After running the command, you need to **manually move the robotic arm** to allow each joint to reach its **limit position**. The terminal will display the recorded range data. Once this operation is completed, press Enter.
340
+
After startup, you will see the encoder values of each joint. You need to manually calibrate each joint one by one: rotate each joint to its maximum and minimum positions. For joints without limit stops, the rotation range must not exceed 180° clockwise or 180° counterclockwise. After calibrating all joints, press Enter to save the settings.
340
341
341
342
:::tip
342
343
The calibration files will be saved to the following paths: `~/.cache/huggingface/lerobot/calibration/robots` and `~/.cache/huggingface/lerobot/calibration/teleoperators`.
@@ -355,6 +356,8 @@ Connect `left_arm_port` to `/dev/ttyUSB0` and `right_arm_port` to `/dev/ttyUSB2`
After startup, you will see the encoder values of each joint. You need to manually calibrate each joint one by one: rotate each joint to its maximum and minimum positions. For joints without limit stops, the rotation range must not exceed 180° clockwise or 180° counterclockwise. After calibrating all joints, press Enter to save the settings.
360
+
358
361
#### Follower Robotic Arm
359
362
360
363
Connect `left_arm_port` to `/dev/ttyUSB1` and `right_arm_port` to `/dev/ttyUSB3`, or modify the `--robot.left_arm_port` and `--robot.right_arm_port` parameters, and then execute:
@@ -363,6 +366,8 @@ Connect `left_arm_port` to `/dev/ttyUSB1` and `right_arm_port` to `/dev/ttyUSB3`
After startup, you will see the encoder values of each joint. You need to manually calibrate each joint one by one: rotate each joint to its maximum and minimum positions. For joints without limit stops, the rotation range must not exceed 180° clockwise or 180° counterclockwise. After calibrating all joints, press Enter to save the settings.
370
+
366
371
:::tip
367
372
368
373
The difference between single-arm and dual-arm setups lies in the `--teleop.type` and `--robot.type` parameters. Additionally, dual-arm setups require separate USB ports for the left and right arms, totaling four USB ports: `--teleop.left_arm_port`, `--teleop.right_arm_port`, `--robot.left_arm_port`, and `--robot.right_arm_port`.
@@ -376,7 +381,7 @@ If using a dual-arm setup, you need to manually modify the robotic arm file type
376
381
## Teleoperate
377
382
378
383
<divclass="video-container">
379
-
<iframewidth="900"height="600"src="https://www.youtube.com/embed/Uz-x-2P2xaE?si=HJTjALt5yFntR6-s"title="youtube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"referrerpolicy="strict-origin-when-cross-origin"allowfullscreen></iframe>
384
+
<iframewidth="900"height="600"src="https://www.youtube.com/embed/02lxxF9Cvy8?si=IGJda5nXkYEbm2N6"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"referrerpolicy="strict-origin-when-cross-origin"allowfullscreen></iframe>
380
385
</div>
381
386
382
387
Move the arm to the position shown in the diagram and set it to standby.
@@ -424,10 +429,122 @@ After the program starts, the Hover Lock Technology remains functional.
424
429
425
430
## Add cameras
426
431
432
+
<details>
433
+
<summary> If using the Orbbec Gemini2 Depth Camera </summary>
In all the following examples, replace `starai_viola` with the actual model of the robotic arm you are using (e.g., `so100` / `so101`).
509
+
510
+
511
+
We have added the `focus_area` hyperparameter. Since depth data that is too far away is meaningless forthe robotic arm (it cannot reach or grasp objects), depth data less than or greater than the `focus_area` will be displayedin black. The default `focus_area` is (20, 600).
512
+
Currently, the only supported resolution is width: 640, height: 880.
For subsequent tasks such as data collection, training, and evaluation, the process is the same as that forregular RGB commands. You only need to replace the relevant partin the regular RGB command with:
After inserting your two USB cameras, run the following script to check the port numbers of the cameras. It is important to remember that the camera must not be connected to a USB Hub; instead, it should be plugged directly into the device. The slower speed of a USB Hub may result in the inability to read image data.
0 commit comments