dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
998 stars 580 forks source link

Rotation M300 RTK with WaypointV2 missions #921

Closed jimmyfraiture closed 3 years ago

jimmyfraiture commented 3 years ago

Hello, I found an inconsistency in the WaypointV2 missions for the Matrice 300 RTK. When I rotate the gimbal of the M300 directly in the code (with an H20 or a P1) the ABSOLUTE_ANGLE are related to the drone's heading. But when the same Rotation is used by a WaypointV2, ABSOLUTE_ANGLE are related to the true North.

I think both have to unified in one single behaviour

dji-dev commented 3 years ago

Agent comment from William Wong in Zendesk ticket #49225:

Dear Client Thank you for contacting DJI.

I think this is a bug. We will raise a ticket internally and check.

Hopefully our solution can help you. Kindly Regards, DJI Developer Support

°°°

DJI-William commented 3 years ago

This is the design. Because in waypointMission, the aircraft heading is changing frequently, and the reference geo model is the ground coordinate system, so the absolute degrees in waypointMission is according the the ground coordinate system which is according to true North. We will add this information on the documentation later on.