dji-sdk / Mobile-SDK-iOS

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

Drone keeps hovering at height of 1-2m, when (low battery/ serious low battery) hits and it starts retracting home automatically #241

Open pavanSaberjack opened 6 years ago

pavanSaberjack commented 6 years ago

- Description of the issue When drone is flying in low battery case and start to return home by itself, it stops at the height of 1-2m and never lands, user has to take control of remote control and land it. We don't get any callback

- Steps to reproduce the bug Keep on flying and when the drone hits Serious low battery or sometimes in Low battery case it will start retracting home

- DJI iOS SDK iOS SDK 4.4

- DJI Product Mavic Pro

- iOS system version iOS version >11.0

- iOS device iPad mini 2, iPad Air

- Xcode version
9.2

Extra info: Some times drone keeps on hovering even in normal return home state, we don't get any callback saying can't land or error.

aksh1t commented 6 years ago

We don't get any callback

Could you please give a little more context? Callback for what - timeline / land command / something else?

pavanSaberjack commented 6 years ago

Callback saying landing stopped because of some error in timeline/land command/ flightcontroller updates

aksh1t commented 6 years ago

Sorry about the delay in getting back to you; just wanted to check something: did you have the autoConfirmLandingEnabled property of your LandAction set to true?

pavanSaberjack commented 5 years ago

@aksh1t Sorry for the delay. Yes, autoConfirmLandingEnabled is enabled.