Reputation: 81
Unfortunately the DJI SDK does not allow to angle the gimbal upwards with the waypoint mission (See SDK Doc: DJI Waypoint Gimbal Pitch).
As a workaround, one may use DJI Gimbal.rotate() to send upward looking gimbal commands during flight. Unfortunately for the Mavic 2 this is not working anymore when doing non-curved waypoint missions (likely bug in Mavic 2 firmware).
My question
PS: There is an indication in Waypoint.class that DJI considered this already, but the DJI validation for the gimbal range in waypoint missions is still validating against [-90,0] (which is consistent with the current DJI SDK documentation).
public static final float MIN_GIMBAL_PITCH = -135.0F;
public static final float MAX_GIMBAL_PITCH = 45.0F;
Thank you for any information on this issue.
Upvotes: 4
Views: 257
Reputation: 185
Mavic 2's possible gimbal pitch range should actually be [-90, 30]
instead of what it currently is [-90, 0]
. That is a bug on the the DJI SDK, and will be fixed with the next version, sorry about the inconvenience.
For other aircrafts though, the gimbal pitch range [-90, 0]
is limited by aircraft firmware. We will keep communicating this with the firmware team and if anything changes, we will update it at https://developer.dji.com/
Upvotes: 3