File tree 8 files changed +22
-17
lines changed
8 files changed +22
-17
lines changed Original file line number Diff line number Diff line change 20
20
21
21
![ arduino0001] ( arduino-1.assets/arduino0001.PNG )
22
22
23
- 在 ` 附加开发板管理器网址 ` (* Additional Boards Managers URLs* )选项框中添加以下字段 :
23
+ 在 ` 附加开发板管理器网址 ` (* Additional Boards Managers URLs* )选项框中添加开发板索引 :
24
24
25
25
```
26
26
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
30
30
31
31
![ arduino0002] ( arduino-1.assets/arduino0002.PNG )
32
32
33
- 打开开发板管理器后,等待索引更新完成, 向下拉找到` Robomaster Education Module ` 栏目,单击` 安装(Install) ` ,等待安装完成后 ,关闭开发板管理器。
33
+ 打开开发板管理器后,等待索引更新完成(如失败,请检查您与Github之间的网络是否通畅), 向下拉找到` Robomaster Education Boards ` 栏目,单击` 安装(Install) ` ,等待安装完成 ,关闭开发板管理器。
34
34
35
35
![ arduino0003] ( arduino-1.assets/arduino0003.PNG )
36
36
37
- 再次打开` 工具(tools) ` ->` 开发板(Board) ` ,可以看到刚刚安装好的开发板` RoboMaster Education Series Boards ` ,选择所需的开发板` RM Expansion Module(RMEM01) ` 。
37
+ 再次打开` 工具(tools) ` ->` 开发板(Board) ` ,可以看到刚刚安装好的开发板` RoboMaster Education Boards ` ,选择所需的开发板,例如 ` RM Expansion Module(RMEM01) ` 。
38
38
39
39
![ arduino0004] ( arduino-1.assets/arduino0004.PNG )
40
40
41
- 至此,您已成功安装开发板支持 !
41
+ 至此,您已成功安装开发板支持包 !
42
42
43
43
## 1.3 创建第一个草图
44
44
Original file line number Diff line number Diff line change 16
16
以下接口暂未支持:2:SD卡、5:CAN接口、8:100pin拓展接口
17
17
```
18
18
19
- 其他部分详细说明见 《机甲大师通用拓展模块用户手册》,该文档将重点阐述与Arduino相关的部分 。
19
+ 详细说明请参考 [ 《机甲大师通用拓展模块用户手册》] ( https://dl.djicdn.com/downloads/DJI_AI_Module/RM_Expansion_Module_User_Manual_v1.0_cn.pdf ) ,本文档将重点阐述如何使用Arduino对扩展模块进行开发 。
20
20
21
21
## 2.1 USB串口
22
22
@@ -29,7 +29,7 @@ SerialUSB.print() //uUSB串口输出
29
29
```
30
30
``` {admonition} 小提示
31
31
:class: tip
32
- 与 Arduino Leonardo 类似,RM通用扩展模块中的USB串口为原生USB,在程序上传后重启时会重新枚举,因此烧录程序后,您需要重新打开串口才能正常接受数据 。
32
+ 与 Arduino Leonardo 类似,RM通用扩展模块中的USB串口为Native USB,在程序上传,复位后会重新枚举。因此,在您烧录程序后,需要重新打开串口,才能正常收发数据 。
33
33
```
34
34
35
35
## 2.2 LED指示灯
@@ -258,12 +258,12 @@ RM扩展模块可以完全作为一个独立的Arduino开发板来使用,但
258
258
259
259
不同模式资源可用情况如下表:
260
260
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) |
267
267
268
268
内置库说明:
269
269
Original file line number Diff line number Diff line change 16
16
17
17
``` {admonition} 小提示
18
18
:class: tip
19
- 如您需要使用自己的Arduino开发板与AI模块通信,请见官网手册《AI 模块与第三方开发板通信开发指南》。
19
+ 如您需要使用自己的Arduino开发板与AI模块通信,请见官网手册《AI 模块与第三方开发板通信开发指南》([官方资料下载页面](https://www.dji.com/cn/ai-module/downloads)) 。
20
20
```
21
21
22
22
在使用` RMAI_Results ` 库之前,请确保:
@@ -145,8 +145,9 @@ typedef struct tag {
145
145
146
146
AI模块通过串口输出的识别结果帧格式为:
147
147
148
- | ID | 中心坐标 X | 中心坐标 Y | 宽 W | 高 H | 置信度 |
148
+ | | | | | | |
149
149
| ---- | ---------- | ---------- | ---- | ---- | ------ |
150
+ | ID | 中心坐标 X | 中心坐标 Y | 宽 W | 高 H | 置信度 C |
150
151
151
152
各个字段的含义如下:
152
153
Original file line number Diff line number Diff line change 12
12
13
13
### 手册
14
14
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 )
16
16
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 )
18
19
19
20
20
21
21
22
### 官方资料站
22
23
23
24
- [ 资料下载页面] ( https://www.dji.com/cn/ai-module/downloads )
24
25
26
+ ### Arduino支持
27
+
28
+ - [ https://github.com/RoboMaster/ArduinoCore-imxrt ] ( https://github.com/RoboMaster/ArduinoCore-imxrt )
Original file line number Diff line number Diff line change 33
33
# THE SOFTWARE.
34
34
35
35
36
- name=RoboMaster Education Series Boards
36
+ name=RoboMaster Education Boards
37
37
version=1.0.0
38
38
39
39
# ---------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments