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
- @DJI: Could you consider adjusting the limits of the gimbal pitch to the gimbal pitch ranges of the actual drone for the waypoint missions (instead of [-90,0]? Some of your drones can look up, so why not support automated waypoint missions with gimbal angles that can look up?
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.