android - 大疆Spark : missing support for FlightController. setMaxFlightHeight() FlightController.setMaxFlightRadius()

标签 android dji-sdk

根据 DJI Mobile SDK Documentation,可以使用以下方式设置航点任务的最大允许飞行高度和飞行半径

FlightController.setMaxFlightHeight([20,500])
FlightController.setMaxFlightRadius(15,8000])

https://developer.dji.com/api-reference/android-api/Components/FlightController/DJIFlightController.html?search=maxflight&i=4&#djiflightlimitation_setmaxflightradius_inline

除了会引发以下错误的 DJI Spark 之外,这适用于所有无人机:

Failed to set max altitude, Param illegal

我的问题: 1. DJI Spark的SDK不支持这些限制吗?如果是这样,文档应该相应地更新。 2. DJI 是否还有另一种我不知道的方式为 DJI Spark 的 Waypoints 任务提供限制?

最佳答案

对于 spark,maxFlightHeight 的范围是 [20,50]

关于android - 大疆Spark : missing support for FlightController. setMaxFlightHeight() FlightController.setMaxFlightRadius(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51835255/

相关文章:

android - 如何在 Android 中更改我的 Gtalk 或 Gmail 的状态?

android - mediaPlayer第二次开始在线播放时出现IllegalStateException

ios - 如何使用完成处理程序方法运行 for 循环?

javascript - 是否存在非移动 DJI Drone SDK?

android - 如何设置 HTC Sense 和 Samsung Touchwiz 应用程序图标徽章?

android - 使用 DisplayManager 或 MediaRouter 实现 Flutter 多屏

android - 检查设备是否真的在移动

swift - DJI Bridge App 教程 Swift 无视频流 - Phantom 4 Pro

ios - 我们如何在 cocoapod 框架中使用 DJIWidget

ios - 如何访问DJIGO App飞行计划日志文件