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

Error loading mission with SDK 4.3.2 and Spark

Open dbaldwin opened this issue 9 years ago • 7 comments

We've been testing many different parameters to load a waypoint mission into DJI Spark. Is this possible with SDK 4.3.2? We keep seeing error code -5024 with a basic waypoint mission and have tried using the timeline operator and waypoint mission operator.

img_0281

img_0282

Apparently error -5024 means:

/** * Command can not be executed. This is sometimes because commands are sent too * frequently. */ DJISDKMissionErrorCommandCanNotExecute = -5024L

Is this a known issue and do you have any suggestions on how to work around it?

Will there be Spark support in SDK 4.4?

Thanks.

dbaldwin avatar Nov 29 '17 16:11 dbaldwin

It seems Spark does not support kinds of missions.

PandaraWen avatar Nov 30 '17 15:11 PandaraWen

+1. It would be great to have support for this. Meanwhile, Is there a workaround? I need to send the spark to an specific location programmatically (a single location). Using virtual sticks api is the only solution I found, but is there a simpler one?

mgiachetti avatar Jan 29 '18 12:01 mgiachetti

I am getting the same issue with Android and DJI Spark using DJI SDK 4.5.1. Anyone who has got any workaround ?

priyankaparihar avatar Jun 15 '18 06:06 priyankaparihar

Dear DJI, are there plans to support Spark in the Mobile SDK? We just tested 4.6.1 and still having problems. See the attached screen from DroneBlocks with SDK 4.6.1 and Spark. Can you please provide us any info one way or another? Thank you.

img_0304

dbaldwin avatar Jul 09 '18 19:07 dbaldwin

Dennis, Could you try say 20 feet at 2 mph? (I am wondering if there are some flight limitations being hit for distance or speed.)

Thanks!

zoemcateedji avatar Jul 09 '18 20:07 zoemcateedji

@zoemcateedji thanks for chiming in. Changing the block to 20 ft and 5 mph did not work. I only did 5 mph (2.2 m/s) because from previous testing older versions of the SDK did not allow us to go any slower than this....and we've set a limit in DroneBlocks to a minimum of 5 mph.

dbaldwin avatar Jul 10 '18 00:07 dbaldwin

Please ignore my last comment. We had updated with the latest podfile for 4.6.1 but when we compiled it used SDK 4.5. After cleaning the project and recompiling we were able to successfully get waypoints working with Spark. Thank you DJI. Keep up the great work.

dbaldwin avatar Jul 12 '18 03:07 dbaldwin