Mobile-SDK-iOS icon indicating copy to clipboard operation
Mobile-SDK-iOS copied to clipboard

DJIMissionControlTimeline Command cannot be executed

Open ottisoftware opened this issue 7 years ago • 11 comments

Hello, I am working on an App that uses DJIMissionControlTimeline to fly 1. a waypoint mission 2. a Hotpoint Mission, 3. DJIGoToAction, 4 DJIGoToAction It is working till the Hotpoint mission is completed: Error Domain=DJISDKMissionErrorDomain Code=-5024 "Command cannot be executed.(code:-5024)" UserInfo={NSLocalizedDescription=Command cannot be executed.(code:-5024)}

Step 3. will still be executed. Notice that step 3. and 4. can also be Waypoint Missions and it will still fail. I am using DJI SDK 4.0.1, iPhone 6s Plus, Xcode 8.3.1

ottisoftware avatar May 01 '17 12:05 ottisoftware

Thanks @ottisoftware . This issue is reproduced. We fixed it internally just now and it will be included in the next release.

zoemcateedji avatar May 04 '17 16:05 zoemcateedji

@zoemcateedji do you have an estimate on when the next release will be available. We are plagued by several bugs and it would be nice to know. Thank you.

dbaldwin avatar May 04 '17 16:05 dbaldwin

The targeted goal is in the next couple of weeks - we hear you!

zoemcateedji avatar May 09 '17 23:05 zoemcateedji

Has this issue been fixed? We are seeing this constantly when trying to upload waypoint missions

chasemgray avatar Jun 13 '17 15:06 chasemgray

With sdk 4.1.1

chasemgray avatar Jun 13 '17 15:06 chasemgray

@chasemgray It has been fixed. Are you checking the upload progress of the waypoint and see if an error occured?

e7711bbear avatar Jun 13 '17 17:06 e7711bbear

Hi, We are experiencing the same issue - the SDK version we use is also the latest - 4.1.1. Have you found a workaround? Thank you.

jane-green avatar Jun 25 '17 17:06 jane-green

Hi @jane-green , we have published the latest SDK 4.2 last Friday, could you try it and check if the issue still exist? Thanks!

oliverou avatar Jun 26 '17 05:06 oliverou

Hi @oliverou - thanks for the response. Yes, we will certainly give it a try with SDK 4.2 and let you know of the outcome. Thank you.

jane-green avatar Jun 26 '17 09:06 jane-green

We still see this problem regularly. It's most often returned during waypoint upload calls, but sometimes it can be returned for other things such as retrieving no fly zones, etc. We have so many users hitting this issue and it's only appeared in sdk 4.0. Please investigate it.

chasemgray avatar Jul 20 '17 17:07 chasemgray

I have met this problem, and I give my 3 resolutions

my env

Xcode 11.7, DJISDK 4.13 ,running GSDemo from dji-mobile-sdk-tutorial

1.

my method is check if the flight is still connected with your App, because if there is a long time no action with aircraft. the aircraft may lose connection with App. my suggestion is before you upload missionPoints, switch to DJI GO 4 App to check the aircraft staying in "ready to fly(开始飞行)" state. if the state of "into aircraft(连接设备)" means not conneting with the aircraft.

2.

But, my bug is my mission waypoints not conform to DJI missionPoint defined requirements. such as your the number of waypoint is not correct, or your struct is not correct.

3.

DJI dev support give my suggestion to check aircraft state before upload mission waypoints, see website here: link

and DJI says that the frequency of sending message is too high .

hope these advises can help us!!

myboyhood avatar Dec 04 '20 11:12 myboyhood