djiuser_OR8EW5uz3gSA
lvl.4
Canada
Offline
|
I am using pauseTimeline however it throws errors depending on the current DJIMissionControlTimelineEvent being received for the currently running element in the TimelineProgress listener. I found that if I trigger pauseTimeline when the currently running timeline element is DJIMissionControlTimelineEventStarted it will pause just fine as long as the action/element running is NOT a DJIShootPhotoAction - any pause on a DJIShootPhotoAction results in a camera busy error. Its weird, if the same actions (e.g. DJIGoToAction, DJIAircraftYawAction, DJIGimbalAttitudeAction) are at the DJIMissionControlTimelineEventProgressed stage it fails with DJISDKMissionErrorDomain error 10007
But another twist is if a DJIGoToAction element is at the DJIMissionControlTimelineEventProgressed just after the element has started to run it will fail but if I wait a couple of seconds and then pause the timeline it will work fine and not throw an error. Seems like a SDK bug
|
|