New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeline mission crashes when pauseTimeline called during DJIGimbalAttitudeAction #366
Comments
Agent comment from Luce Luo in Zendesk ticket #35159: Thank you for contacting DJI. If the problem still, please fill in the form with more detail. Thanks, Luce Luo |
Thanks for the reply. The issue happens with 4.12 also. I understand that |
Agent comment from Luce Luo in Zendesk ticket #35159: Thank you for contacting DJI. Thanks, Luce Luo |
The Phantom 3 Professional is running the last release - v1.11.20 which shows as The Mavic Pro according to DJI Go 4 is running 1.04.0500 As a workaround after a lot of testing I found that if I trigger pauseTimeline when the currently running timeline element is at the DJIMissionControlTimelineEventStarted event in the timeline listener 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. If the same actions (e.g. DJIGoToAction, DJIAircraftYawAction, DJIGimbalAttitudeAction) are at the DJIMissionControlTimelineEventProgressed stage they fail with DJISDKMissionErrorDomain error 10007 sample workaround [DJISDKManager.missionControl addListener:self toTimelineProgressWithBlock:^(DJIMissionControlTimelineEvent event, id<DJIMissionControlTimelineElement> _Nullable element, NSError * _Nullable error, id _Nullable info) {
if (event == DJIMissionControlTimelineEventStarted) {
[DJISDKManager.missionControl pauseTimeline];
}
}]; |
Agent comment from Luce Luo in Zendesk ticket #35159: Thank you for contacting DJI. Thanks, Luce Luo |
Agent comment from Luce Luo in Zendesk ticket #35159: Thank you for contacting DJI. Also, you can try to add this logic to avoid it. Thanks, Luce Luo |
When calling
[[DJISDKManager missionControl] pauseTimeline]
while a DJIGimbalAttitudeAction is running in a timeline mission, DJISDKMissionErrorDomain error 10007 is thrown. I also receive similar issues when trying to pause a mission while DJIAircraftYawAction is running.I checked if the timeline element is pausable and true is returned.
Is there a cleaner way to pause a timeline after a DJIMissionAction has completed?
Drone: Mavic Pro, Phantom 3 Professional
SDK: 4.11.2
The text was updated successfully, but these errors were encountered: