dji-sdk / Mobile-SDK-Android-V5

MSDK V5 Sample
Other
260 stars 136 forks source link

Reason of sudden RTH #386

Open IakovlevAA opened 1 month ago

IakovlevAA commented 1 month ago

Hi Dji, I've encountered strange behaviour on Mini 3 Pro. When I'm using drone in simulator, in one moment KeyFlightMode changes to GO_HOME and it flies back to takeoff position, altough I didn't call RTH function. I've already disabled Intelligent RTH with KeyLowBatteryRTHEnabled set to false. but the problem still ocurs. FailSafeAction is FailsafeAction.HOVER. KeyIsFailSafe always false too Steps to reproduce

  1. Start simulator
  2. Takeoff
  3. Fly ~20m from takeoff position
  4. Wait some time
  5. RC starts beeping and drone return to home
mitchrsm commented 1 month ago

In my experience I believe it's the mini 3 pro overheating in simulator mode... , that too bad cause give very short time to test app functionality..

IakovlevAA commented 1 month ago

I'm using vent to cool drone, so I think it's not the issue. What I've noticed is, as low is battery charge, faster it returns to home, although intelligent RTH is disabled.

dji-dev commented 1 month ago

Agent comment from yating.liao in Zendesk ticket #111119:

You can check the SDK for the received health information. The DJI MINI 3 PRO may experience overheating in a stationary state, triggering the overheating protection. You can use a small fan or other devices to help the aircraft dissipate heat for extended simulated testing. https://developer.dji.com/api-reference-v5/android-api/Components/IDeviceHealthManager/IDeviceHealthManager.html#idevicehealthmanager_adddjidevicehealthinfochangelistener_inline

°°°

IakovlevAA commented 1 month ago

Yes, it indeed was overheating, fan was just not so effective... But how can I know if drone is overheated during flight? I 've just tried DeviceHealthManager and DeviceStatusManager, both told that there is no error. Also thought that BatteryKey.KeyBatteryTemperature can tell about overheating, but didn't help

dji-lyt commented 1 month ago

image The DeviceHealthManager should provide information when the aircraft is overheating. During flight, the aircraft's cooling system is much more effective than when it is stationary, so the likelihood of overheating is lower.

IakovlevAA commented 1 month ago

On Mini 3 Pro can't reproduce. Only got one warning about low speed sd card, however drone started returning home due to overheating image

dji-dev commented 1 month ago

Agent comment from yating.liao in Zendesk ticket #111119:

Is the MSDK version and drone firmware version you are using the latest? Were there any relevant prompts before the aircraft returned?

If the SDK version and firmware are not up to date, could you try updating to the latest version?

°°°

IakovlevAA commented 1 month ago

Right now I'm using 5.9.0, but already tried with 5.9.1, no changes. There were no prompts before,while and after aircraft returned

dji-dev commented 1 month ago

Agent comment from yating.liao in Zendesk ticket #111119:

I seem to have reproduced a same issue. Please wait for a while.

°°°

antonymarion commented 1 month ago

Yes I stumbled too over the same behaviour, and it took me time to understand that mini 3 Pro was overheating and there was no fan (that flying with it replaces the fan effect :D )