智能功能教程
Sample 介绍
IIntelligentFlightManager是为了让用户使用DJI飞机的智能功能开放的接口,当前支持如下能力:
- POI :智能环绕。
- FlyTo : 飞向目标点。
- SpotLight:相机智能跟随。
- SmartTrack:飞机智能跟随。
当前支持的机型列表如下:
| 机型 | 类型 | POI | FlyTO | SpotLight | SmartTrack |
|---|---|---|---|---|---|
| Matrice 350 RTK | 行业机 | ✅ | |||
| M300 RTK | 行业机 | ✅ | |||
| Mavic 3 Enterprise Series | 行业机 | ✅ | |||
| Matrice 4 Enterprise Series | 行业机 | ✅ | ✅ | ✅ | |
| Matrice 4D Enterprise Series | 行业机 | ✅ | ✅ | ✅ | |
| DJI Mini4 PRO | 消费机 | ✅ | ✅ | ✅ |
接口调用流程
下图为完整的接口展示以及接口调用流程示例。详细的使用方法请查看Mobile SDK API文档中的智能功能管理类 IntelligentFlightManager。
注意: 行业消费两边接口逻辑有一定差异。
POI -- 行业机

FlyTo -- 行业机

AutoSensing
如下功能需要先开启AutoSensing后,再进行操作。
- 行业机SpotLight
- 消费机POI
- 消费机SpotLight
- 消费机SmartTrack

SpotLight -- 行业机
对于Matrice 4 Enterprise Series,还需要enterSpotLightMode。

POI -- 消费机

SpotLight -- 消费机

SmartTrack -- 消费机
