dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
972 stars 579 forks source link

the radius of mission is over the acceptable limit,why? #317

Open GongFei92 opened 6 years ago

GongFei92 commented 6 years ago

the radius of mission is over the acceptable limit,why?my sdk version 4.5.1

JamesMasterman commented 6 years ago

I also encountered this error. It occurs if any mission waypoint is more than the "flight radius" distance away from home. I'm not sure if this is a bug in the SDK or not, but it occurs even if the MAX_FLIGHT_RADIUS_ENABLED key is set to false.

To fix this, I just increased the Maximum flight radius to greater than the furthest waypoint distance in my mission. Use the MAX_FLIGHT_RADIUS key for that.

You can increase it up to 8000m I believe. The documentation still incorrectly says 500m, but that was only true in older versions of the SDK.

ligongzixing commented 6 years ago

@GongFei92 Please help to give detail infos, which product, which mission, which method, and the result.

ligongzixing commented 6 years ago

Thanks @JamesMasterman , @GongFei92

  1. If you use the waypoint mission, please make sure the radius should not greater than the MAX_FLIGHT_RADIUS and the altitude should not greater than MAX_FLIGHT_HEIGHT;
  2. Please make sure there is no waypoint in the NFZ. Which may also give this error;
  3. If you are in China, please make sure whether you have login your account.
liangChengGit commented 5 years ago

ncrease Maximum flight radius up to 8000m ,it also show results is 500 m,

Michael-DJI commented 5 years ago

@GongFei92 next time please report the issue to dev@dji.com it's the official channel to request DJI SDK support now.