DJI Mobile SDK Documentation

      class WaypointGimbalPathPointInfo

      class WaypointGimbalPathPointInfo
      Package:dji.common.mission.waypointv2.Action
      Description:

      This class defines the gimbal path point info parameters.

      Class Members:
      Running Time
      method
      method getRunningTime
      float getRunningTime()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The rotation time of the gimbal(unit: second). The gimbal will rotate at its maximum speed when the value is set to 0.

      Return:
      floatA float value to get the rotation time of the gimbal.
      Stay Time
      method
      method getStayTime
      float getStayTime()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The time stays at the target location including the time of photo taken(unit: second). For example: the Zenmuse P1 takes about 0.7s to take a photo. If you set stay time with 1s, the gimbal will stay for 0.3s after the camera has finished taking a photo. If the stay time is less than the photo time, the next PathPoint will be executed immediately after the photo is taken.

      Return:
      floatA float value to get the stay time of the gimbal.
      Euler Roll
      method
      method getEulerRoll
      float getEulerRoll()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Euler target angle for roll (North East Down coordinate system). Unit: degree. You should use ADJUST_ROLL to get the adjustable roll range.

      Return:
      floatA float value to get the euler target angle for roll.
      Euler Pitch
      method
      method getEulerPitch
      float getEulerPitch()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Euler target angle for pitch(North East Down coordinate system). Unit: degree. You should use ADJUST_PITCH to get the adjustable pitch range.

      Return:
      floatA float value to get the euler target angle for pitch.
      Euler Yaw
      method
      method getEulerYaw
      float getEulerYaw()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Euler target angle for yaw (Unit: degree). The yaw angle is relative to the aircraft heading. If you set yaw angle to 0 degree, the direction of the gimbal will be the same as the aircraft heading. You should use ADJUST_YAW to get the adjustable yaw range.

      Return:
      floatA float value to get the euler target angle for yaw.
      Make Waypoint V2 gimbal Path Point Info Param
      class