Skip to content

Commit 5ade148

Browse files
author
Your Name
committed
update
1 parent 23ccc4c commit 5ade148

11 files changed

Lines changed: 128 additions & 4 deletions

docs/en/Guide/R1/R1_Software_Guide_ros1.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,33 @@ This interface is used for the robot arm control and status feedback ROS package
205205
</tbody>
206206
</table>
207207

208+
Arm services such as enable/disable/calibration/contro mode switch can be processed by the following interfaces:
209+
<table style="width: 100%; border-collapse: collapse;">
210+
<thead>
211+
<tr style="background-color: black; color: white; text-align: left;">
212+
<th style="width: 200px; vertical-align: middle; padding: 8px; border: 1px solid #ddd; width: 300px;">Topic Name</th>
213+
<th style="width: 300px; vertical-align: middle; padding: 8px; border: 1px solid #ddd; width: 100px;">I/O</th>
214+
<th style="width: 300px; vertical-align: middle; padding: 8px; border: 1px solid #ddd; width: 300px;">Description</th>
215+
<th style="width: 300px; vertical-align: middle; padding: 8px; border: 1px solid #ddd; width: 300px;">Message Type</th>
216+
</tr>
217+
</thead>
218+
<tbody>
219+
<tr style="background-color: white; text-align: left;">
220+
<td style="padding: 8px; border: 1px solid #ddd;">/hdas/function_frame_left_arm</td>
221+
<td style="padding: 8px; border: 1px solid #ddd;">Input</td>
222+
<td style="padding: 8px; border: 1px solid #ddd;">Arm function frame</td>
223+
<td style="padding: 8px; border: 1px solid #ddd;">hdas_msg/FunctionFrame</td>
224+
</tr>
225+
<tr style="background-color: white; text-align: left;">
226+
<td style="padding: 8px; border: 1px solid #ddd;">/hdas/function_frame_right_arm</td>
227+
<td style="padding: 8px; border: 1px solid #ddd;">Input</td>
228+
<td style="padding: 8px; border: 1px solid #ddd;">Arm function frame</td>
229+
<td style="padding: 8px; border: 1px solid #ddd;">hdas_msg/FunctionFrame</td>
230+
</tr>
231+
</tbody>
232+
</table>
233+
234+
208235
The specific fields and their detailed descriptions for the above topic are shown in the table below:
209236

210237
<table style="width: 100%; border-collapse: collapse;">
@@ -537,6 +564,31 @@ The specific fields and their detailed descriptions for the above topic are show
537564
</tbody>
538565
</table>
539566

567+
手臂服务接口:
568+
<table style="width: 100%; border-collapse: collapse;">
569+
<thead>
570+
<tr>
571+
<th style="background-color: black; color: white; vertical-align: middle; padding: 8px; border: 1px solid #ddd; width: 200px;">Topic Name</th>
572+
<th style="background-color: black; color: white; vertical-align: middle; padding: 8px; border: 1px solid #ddd; width: 200px;">Field</th>
573+
<th style="background-color: black; color: white; vertical-align: middle; padding: 8px; border: 1px solid #ddd;width: 600px;">Description</th>
574+
</tr>
575+
</thead>
576+
<tbody>
577+
<tr style="background-color: white;">
578+
<td style="vertical-align: middle; padding: 8px; border: 1px solid #ddd;">/hdas/function_frame_left_arm</td>
579+
<td style="vertical-align: middle; padding: 8px; border: 1px solid #ddd;">command</td>
580+
<td style="vertical-align: middle; padding: 8px; border: 1px solid #ddd;">1: enable<br>2: disable<br>3: calibration for the whole arm<br>4: clear error<br>5: MIT control mode<br>6: PID control mode</td>
581+
</tr>
582+
<tr style="background-color: white;">
583+
<td style="vertical-align: middle; padding: 8px; border: 1px solid #ddd;">/hdas/function_frame_right_arm</td>
584+
<td style="vertical-align: middle; padding: 8px; border: 1px solid #ddd;">command</td>
585+
<td style="vertical-align: middle; padding: 8px; border: 1px solid #ddd;">1: enable<br>2: disable<br>3: calibration for the whole arm<br>4: clear error<br>5: MIT control mode<br>6: PID control mode</td>
586+
</tr>
587+
</tbody>
588+
</table>
589+
590+
591+
540592
***Joint Motor Control Interface Description**
541593

542594
- `/hdas/feedback_status_arm_left `

docs/en/Guide/R1Pro/R1Pro_Unbox_Startup_Guide.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,15 +260,26 @@ source {your_download_path}/install/setup.bash
260260
roslaunch mobiman r1_pro_chassis_control.launch
261261
```
262262

263-
#### 4.5.3 Joystick Controller Operation
263+
#### 4.5.3 Host Computer Control
264+
Press `Ctrl + B` then `C` to create a new terminal. Then, execute the following conmand.
265+
```bash
266+
source {your_download_path}/install/setup.bash
267+
cd {your_download_path}/install/share/mobiman/script
268+
python3 r1pro_test_open_box.py
269+
```
270+
271+
Enter `5` then press `Enter`, R1 Pro will stand; enter `q`to quit the demo script.
272+
![R1Pro_4.5.3_torso_control_5](assets/unbox/R1Pro_4.5.3_torso_control_5.png)
273+
274+
<!-- #### 4.5.3 Joystick Controller Operation
264275
<span style="color:red"> Note: Before any operation, ensure all switches (SWA/SWB/SWC/SWD) are in the top position. </span>This will keep the machine stopped and prevent robot operation. For more detailed operation information, refer to the remote controller guide in the Getting Started.
265276

266277
1. To turn the controller on/off, hold the two power buttons until the touch screen lights on/off.
267278
2. Move the SWA switch to the bottom and the SWB switch to the middle.
268279
3. Keep the SWC switch and the SWD switch in the top position.
269280
4. Move the left joystick to the top-left and the right joystick to the top-right simultaneously as shown in the figure below. Wait for 3 seconds, and R1 will stand up.
270281

271-
![R1Pro_4.5.3_controller_stand](./assets/unbox/R1Pro_4.5.3_controller_stand.png)
282+
![R1Pro_4.5.3_controller_stand](./assets/unbox/R1Pro_4.5.3_controller_stand.png) -->
272283

273284

274285

-3.03 KB
Loading
914 KB
Loading
35.9 KB
Loading

docs/zh/Guide/R1/R1_Software_Guide_ros1.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,32 @@ roslaunch HDAS r1.launch
174174
</tbody>
175175
</table>
176176

177+
手臂使能/失能/标定/控制模式切换可通过以下服务接口进行控制:
178+
<table style="width: 100%; border-collapse: collapse;">
179+
<thead>
180+
<tr style="background-color: black; color: white; text-align: left;table-layout: fixed;">
181+
<th style="width: 300px; padding: 8px; border: 1px solid #ddd;">服务名称</th>
182+
<th style="width: 100px; padding: 8px; border: 1px solid #ddd;">I/O</th>
183+
<th style="width: 200px; padding: 8px; border: 1px solid #ddd;">描述</th>
184+
<th style="width: 200px; padding: 8px; border: 1px solid #ddd;">消息类型</th>
185+
</tr>
186+
</thead>
187+
<tbody>
188+
<tr style="background-color: white; text-align: left;">
189+
<td style="padding: 8px; border: 1px solid #ddd;">/hdas/function_frame_left_arm</td>
190+
<td style="padding: 8px; border: 1px solid #ddd;">Input</td>
191+
<td style="padding: 8px; border: 1px solid #ddd;">机械臂功能帧</td>
192+
<td style="padding: 8px; border: 1px solid #ddd;">hdas_msg/FunctionFrame</td>
193+
</tr>
194+
<tr style="background-color: white; text-align: left;">
195+
<td style="padding: 8px; border: 1px solid #ddd;">/hdas/function_frame_right_arm</td>
196+
<td style="padding: 8px; border: 1px solid #ddd;">Input</td>
197+
<td style="padding: 8px; border: 1px solid #ddd;">机械臂功能帧</td>
198+
<td style="padding: 8px; border: 1px solid #ddd;">hdas_msg/FunctionFrame</td>
199+
</tr>
200+
</tbody>
201+
</table>
202+
177203
针对以上话题的具体字段及其详细描述如下表所示:
178204
<table style="width: 100%; border-collapse: collapse;">
179205
<thead>
@@ -505,6 +531,30 @@ roslaunch HDAS r1.launch
505531
</tbody>
506532
</table>
507533

534+
手臂服务接口:
535+
<table style="width: 100%; border-collapse: collapse;">
536+
<thead>
537+
<tr>
538+
<th style="background-color: black; color: white; vertical-align: middle; padding: 8px; border: 1px solid #ddd; width: 200px;">话题名称</th>
539+
<th style="background-color: black; color: white; vertical-align: middle; padding: 8px; border: 1px solid #ddd; width: 200px;">字段</th>
540+
<th style="background-color: black; color: white; vertical-align: middle; padding: 8px; border: 1px solid #ddd; width: 600px;">描述</th>
541+
</tr>
542+
</thead>
543+
<tbody>
544+
<tr style="background-color: white;">
545+
<td style="vertical-align: middle; padding: 8px; border: 1px solid #ddd;">/hdas/function_frame_left_arm</td>
546+
<td style="vertical-align: middle; padding: 8px; border: 1px solid #ddd;">command</td>
547+
<td style="vertical-align: middle; padding: 8px; border: 1px solid #ddd;">1: 使能<br>2: 失能<br>3: 整臂标定<br>4: 清除错误<br>5: MIT<br>6: PID</td>
548+
</tr>
549+
<tr style="background-color: white;">
550+
<td style="vertical-align: middle; padding: 8px; border: 1px solid #ddd;">/hdas/function_frame_right_arm</td>
551+
<td style="vertical-align: middle; padding: 8px; border: 1px solid #ddd;">command</td>
552+
<td style="vertical-align: middle; padding: 8px; border: 1px solid #ddd;">1: 使能<br>2: 失能<br>3: 整臂标定<br>4: 清除错误<br>5: MIT<br>6: PID</td>
553+
</tr>
554+
</tbody>
555+
</table>
556+
557+
508558
**机械臂关节电机控制接口说明**
509559

510560
- `/hdas/feedback_status_arm_left `

docs/zh/Guide/R1Pro/R1Pro_Unbox_Startup_Guide.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,18 @@ source {your_download_path}/install/setup.bash
256256
roslaunch mobiman r1_pro_chassis_control.launch
257257
```
258258

259-
#### 4.5.3 遥控器操作
259+
#### 4.5.3 上位机控制
260+
按下`Ctrl + B`然后按`C`创建一个新终端,执行以下脚本。
261+
```bash
262+
source {your_download_path}/install/setup.bash
263+
cd {your_download_path}/install/share/mobiman/script
264+
python3 r1pro_test_open_box.py
265+
```
266+
267+
输入`5`然后按下`Enter`,R1 Pro将站立,按`q`即可退出Demo脚本。
268+
![R1Pro_4.5.3_torso_control_5_cn](assets/unbox/R1Pro_4.5.3_torso_control_5_cn.png)
269+
270+
<!-- #### 4.5.3 遥控器操作
260271
<span style="color:red"> 注意:在进行任何操作之前,请确保所有开关(SWA/SWB/SWC/SWD)都处于顶部位置。</span>这将使机器处于停止状态,防止R1 Pro误操作。如果需要获取更多详细操作信息,请参阅Galaxea R1 Pro用户指南中的遥控器指南。
261272

262273
1. 要开启/关闭控制器,请按住两个电源按钮,直到触摸屏亮起/熄灭。
@@ -266,7 +277,7 @@ roslaunch mobiman r1_pro_chassis_control.launch
266277
3. 保持长拨杆SWC和短拨杆SWD在上方。
267278

268279
4. 同时将左操纵杆移至左上角,右操纵杆移至右上角(如下图所示)。等待3秒钟,**R1 Pro即可站立。**
269-
![R1Pro_4.5.3_controller_stand_cn](./assets/unbox/R1Pro_4.5.3_controller_stand_cn.png)
280+
![R1Pro_4.5.3_controller_stand_cn](./assets/unbox/R1Pro_4.5.3_controller_stand_cn.png) -->
270281

271282

272283
## 5. 安装手臂
239 Bytes
Loading
-4.63 KB
Loading
910 KB
Loading

0 commit comments

Comments
 (0)