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

GoHomeExecutionState showing incorrect state during GoHome execution

Open ldavidrh opened this issue 5 years ago • 3 comments

Mobile SDK Version: 4.11

When accesing the GoHomeExecutionState through getGoHomeExecutionState function from FlightControllerState instance, the returned enum value is incorrect.

In the tests conducted the drone was looking away from the TakeOff Point/Home coordinate and was at least 40 meters away from the TakeOff Point/Home coordinate and no obstacles were present in the drone path. During the GoHome execution we expected to get the following values in this order:

TURN_DIRECTION_TO_HOME_POINT
AUTO_FLY_TO_HOME_POINT
GO_DOWN_TO_GROUND
COMPLETED
NOT_EXECUTING 

Instead we got the following:

NOT_EXECUTING
GO_DOWN_TO_GROUND
COMPLETED

instead of TURN_DIRECTION_TO_HOME_POINT and AUTO_FLY_TO_HOME_POINT we are getting NOT_EXECUTING which is weird because the GoHome action is actually executing

ldavidrh avatar Aug 05 '20 19:08 ldavidrh

Agent comment from Lisa Fedane in Zendesk ticket #37744:

Can you update your SDK version to 4.13, check that you are on the latest drone firmware and let us know if you continue to have this behavior? In addition, after these updates if you continue to have the issue, please let us know what drone you are seeing this on.

Lisa Fedane DJI Developer Support, US

Join DJI's Developer Community in our new Forum for Technical Discussions, Announcements and More: https://forum.dji.com/forum-139-1.html?from=developer

dji-dev avatar Aug 05 '20 22:08 dji-dev

I've already tested with the lastest firmware and SDK and the problem still persists. I'm using Mavic 2 Zoom drone.

ldavidrh avatar Nov 04 '20 18:11 ldavidrh

followed with internal ticket: DUSDK-13485

Michael-DJI avatar Aug 31 '21 12:08 Michael-DJI