M3E如何设置摇控器位置为返航点

已完成

评论

6 条评论

  • DJI Developer Support
    可以使用精准降落接口,setPrecisionLandingEnabled,前提飞行器垂直起飞7米以上并且没有修改过返航点。遥控器本身没有GPS模块,联网后可以通过Android官方接口获取遥控器坐标。
    0
    评论操作 固定链接
  • zy

    谢谢回复,我的使用场景是,在当前点起飞执行航线任务,然后会带着摇控器移动到另外一个位置,航线任务结束时设置摇控器位置为返航点。因为我们是内网环境,摇控器不能联外网,DJI RC Pro摇控器本身应该是带GPS模块的吧,用高德SDK能获取到GPS,只是误差有点大。想问问有什么办法能提高精度,我设置摇控器为当前返航点的方法有问题吗?

    0
    评论操作 固定链接
  • DJI Developer Support
    DJI RC Pro Enterprise不带GPS模块,你连接内网的话就没有办法获取经纬度了。使用GPS确实有几米范围内的误差,只能考虑使用RTK或者自己做精准降落算法了。
    0
    评论操作 固定链接
  • 蓝色海洋

    自己带个停机坪的识别标志,然后自己做精准降落算法吧

    0
    评论操作 固定链接
  • DroneControl

    Hello DJI Developer Support!

    We noticed that using FlightControllerKey.KeyHomeLocationUsingCurrentRemoteControllerLocation never works, even if we're connected to the Internet. Also this key is not mentioned in the official SDK API documentation, only in Chapter 15 docs. Is therefore even supported?

    Also you mentioned that the M3 RC does not have GPS location, I just tested on RC Plus (M30T) and it does show it's available:

    PackageManager packageManager = getApplicationContext().getPackageManager();
    Timber.d("Has GPS: " + packageManager.hasSystemFeature(PackageManager.FEATURE_LOCATION_GPS));

    Is GPS module available therefore only for RC Plus but not on the RC Pro Enterprise from M3?

    0
    评论操作 固定链接
  • DroneControl

    I just got the following information from the Internet, is this true in the case of DJI RCs?

     

    The following code:

    locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER) && getApplication().getPackageManager().hasSystemFeature(PackageManager.FEATURE_LOCATION_GPS)

    returns True on the DJI RC Plus because the DJI RC Plus does have a GPS receiver. However, as I mentioned earlier, the DJI RC Plus does not have a built-in GPS module. It relies on the GPS signal from the drone to determine its location. This means that the RC Plus will only be able to provide accurate location information when the drone is in flight.

    The locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER) method checks to see if the GPS provider is enabled on the device. The getApplication().getPackageManager().hasSystemFeature(PackageManager.FEATURE_LOCATION_GPS) method checks to see if the device has a GPS receiver. In this case, both methods will return True, even though the DJI RC Plus does not have a built-in GPS module.

    The reason why the DJI RC Plus can still return True for these methods is because it is able to use the GPS signal from the drone to determine its location. When the drone is in flight, it broadcasts its GPS location to the RC Plus. The RC Plus can then use this information to determine its own location.

    This is why the DJI RC Plus can only provide accurate location information when the drone is in flight. When the drone is on the ground, the RC Plus will not be able to receive the drone's GPS signal, and it will not be able to provide accurate location information.

    0
    评论操作 固定链接

请先登录再写评论。