Skip to content

Commit bf5ea2f

Browse files
author
flame.yu
committed
FIX: Update document
1 parent 779fac7 commit bf5ea2f

File tree

8 files changed

+22
-17
lines changed

8 files changed

+22
-17
lines changed
Loading
Loading
Loading

docs/source/arduino/arduino-1.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
![arduino0001](arduino-1.assets/arduino0001.PNG)
2222

23-
`附加开发板管理器网址`*Additional Boards Managers URLs*选项框中添加以下字段
23+
`附加开发板管理器网址`*Additional Boards Managers URLs*选项框中添加开发板索引
2424

2525
```
2626
https://raw.githubusercontent.com/RoboMaster/ArduinoCore-imxrt/index_file/package_robomaster_index.json
@@ -30,15 +30,15 @@ https://raw.githubusercontent.com/RoboMaster/ArduinoCore-imxrt/index_file/packag
3030

3131
![arduino0002](arduino-1.assets/arduino0002.PNG)
3232

33-
打开开发板管理器后,等待索引更新完成向下拉找到`Robomaster Education Module`栏目,单击`安装(Install)`等待安装完成后,关闭开发板管理器。
33+
打开开发板管理器后,等待索引更新完成(如失败,请检查您与Github之间的网络是否通畅),向下拉找到`Robomaster Education Boards`栏目,单击`安装(Install)`等待安装完成,关闭开发板管理器。
3434

3535
![arduino0003](arduino-1.assets/arduino0003.PNG)
3636

37-
再次打开`工具(tools)`->`开发板(Board)`,可以看到刚刚安装好的开发板`RoboMaster Education Series Boards`,选择所需的开发板`RM Expansion Module(RMEM01)`
37+
再次打开`工具(tools)`->`开发板(Board)`,可以看到刚刚安装好的开发板`RoboMaster Education Boards`,选择所需的开发板,例如`RM Expansion Module(RMEM01)`
3838

3939
![arduino0004](arduino-1.assets/arduino0004.PNG)
4040

41-
至此,您已成功安装开发板支持
41+
至此,您已成功安装开发板支持包
4242

4343
## 1.3 创建第一个草图
4444

docs/source/arduino/arduino-2.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
以下接口暂未支持:2:SD卡、5:CAN接口、8:100pin拓展接口
1717
```
1818

19-
其他部分详细说明见《机甲大师通用拓展模块用户手册》,该文档将重点阐述与Arduino相关的部分
19+
详细说明请参考[《机甲大师通用拓展模块用户手册》](https://dl.djicdn.com/downloads/DJI_AI_Module/RM_Expansion_Module_User_Manual_v1.0_cn.pdf),本文档将重点阐述如何使用Arduino对扩展模块进行开发
2020

2121
## 2.1 USB串口
2222

@@ -29,7 +29,7 @@ SerialUSB.print() //uUSB串口输出
2929
```
3030
```{admonition} 小提示
3131
:class: tip
32-
与 Arduino Leonardo 类似,RM通用扩展模块中的USB串口为原生USB,在程序上传后重启时会重新枚举,因此烧录程序后,您需要重新打开串口才能正常接受数据
32+
与 Arduino Leonardo 类似,RM通用扩展模块中的USB串口为Native USB,在程序上传,复位后会重新枚举。因此,在您烧录程序后,需要重新打开串口,才能正常收发数据
3333
```
3434

3535
## 2.2 LED指示灯
@@ -258,12 +258,12 @@ RM扩展模块可以完全作为一个独立的Arduino开发板来使用,但
258258

259259
不同模式资源可用情况如下表:
260260

261-
| 模式\可用情况 | USB调试串口 | USB摄像头 | UART3(14PIN) | SPI3(14PIN) | CAN接口 |
262-
| :-----------: | :------------: | :------------------: | :----------------: | :----------------: | :------------: |
263-
| 1单独使用 | 可用 | 不可用(无AI相机输入) | 可用 | 可用 | 可用 |
264-
| 2和EP使用 | 不可用(接入EP) | 不可用(接入EP) | 可用 | 可用 | 不可用(接入EP) |
265-
| 3和AI相机使用 | 可用 | 可用 | 不可用(AI相机占用) | 不可用(AI相机占用) | 可用 |
266-
| 4和EP+AI相机 | 不可用(接入EP) | 不可用(接入EP) | 不可用(AI相机占用) | 不可用(AI相机占用) | 不可用(接入EP) |
261+
| 序号 | 模式 | USB调试串口 | USB摄像头 | UART3(14PIN) | SPI3(14PIN) | CAN接口 |
262+
| :-----------: | :-----------: | :------------: | :------------------: | :----------------: | :----------------: | :------------: |
263+
| 1 | 单独使用 | 可用 | 不可用(无AI相机输入) | 可用 | 可用 | 可用 |
264+
| 2 | 连接EP | 不可用(接入EP) | 不可用(接入EP) | 可用 | 可用 | 不可用(接入EP) |
265+
| 3 | 连接AI相机 | 可用 | 可用 | 不可用(AI相机占用) | 不可用(AI相机占用) | 可用 |
266+
| 4 | 连接EP+AI相机 | 不可用(接入EP) | 不可用(接入EP) | 不可用(AI相机占用) | 不可用(AI相机占用) | 不可用(接入EP) |
267267

268268
内置库说明:
269269

docs/source/arduino/arduino-3.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
```{admonition} 小提示
1818
:class: tip
19-
如您需要使用自己的Arduino开发板与AI模块通信,请见官网手册《AI 模块与第三方开发板通信开发指南》。
19+
如您需要使用自己的Arduino开发板与AI模块通信,请见官网手册《AI 模块与第三方开发板通信开发指南》([官方资料下载页面](https://www.dji.com/cn/ai-module/downloads))
2020
```
2121

2222
在使用`RMAI_Results`库之前,请确保:
@@ -145,8 +145,9 @@ typedef struct tag {
145145
146146
AI模块通过串口输出的识别结果帧格式为:
147147
148-
| ID | 中心坐标 X | 中心坐标 Y | 宽 W | 高 H | 置信度 |
148+
| | | | | | |
149149
| ---- | ---------- | ---------- | ---- | ---- | ------ |
150+
| ID | 中心坐标 X | 中心坐标 Y | 宽 W | 高 H | 置信度 C |
150151
151152
各个字段的含义如下:
152153

docs/source/intro.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,17 @@
1212

1313
### 手册
1414

15-
- [用户手册](https://dl.djicdn.com/downloads/DJI_AI_Module/RM_Expansion_Module_Quick_Start_Guide.pdf)
15+
- [快速入门指南](https://dl.djicdn.com/downloads/DJI_AI_Module/RM_Expansion_Module_Quick_Start_Guide.pdf)
1616

17-
- [快速入门指南](https://dl.djicdn.com/downloads/DJI_AI_Module/RM_Expansion_Module_User_Manual_v1.0_cn.pdf)
17+
18+
- [用户手册](https://dl.djicdn.com/downloads/DJI_AI_Module/RM_Expansion_Module_User_Manual_v1.0_cn.pdf)
1819

1920

2021

2122
### 官方资料站
2223

2324
- [资料下载页面](https://www.dji.com/cn/ai-module/downloads)
2425

26+
### Arduino支持
27+
28+
- [https://github.com/RoboMaster/ArduinoCore-imxrt](https://github.com/RoboMaster/ArduinoCore-imxrt)

platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# THE SOFTWARE.
3434

3535

36-
name=RoboMaster Education Series Boards
36+
name=RoboMaster Education Boards
3737
version=1.0.0
3838

3939
# ---------------------------------------------------------------

0 commit comments

Comments
 (0)