DJI Mobile SDK Documentation

      class WaypointTrigger

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

      It determines when an action will be performed while the aircraft executes a waypoint mission.

      Class Members:
      Trigger Type
      method
      method getTriggerType
      ActionTriggerType getTriggerType()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The type of trigger.

      Return:
      ActionTriggerTypeAn enum value of ActionTriggerType.
      Reach Point Trigger Param
      method
      method getReachPointParam
      WaypointReachPointTriggerParam getReachPointParam()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The parameters of REACH_POINT. It's valid only when the getTriggerType is REACH_POINT.

      Return:
      WaypointReachPointTriggerParamAn object of WaypointReachPointTriggerParam.
      Associate Trigger Param
      method
      method getAssociateParam
      WaypointV2AssociateTriggerParam getAssociateParam()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The parameters of ASSOCIATE. It's valid only when the getTriggerType is ASSOCIATE.

      Return:
      WaypointV2AssociateTriggerParamAn object of WaypointV2AssociateTriggerParam.
      Trajectory Trigger Param
      method
      method getTrajectoryParam
      WaypointTrajectoryTriggerParam getTrajectoryParam()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The parameters of TRAJECTORY. It's valid only when the getTriggerType is TRAJECTORY. This trigger applies only to AIRCRAFT_CONTROL_GIMBAL. If this action is triggered, the gimbal will rotate at a constant speed from the start waypoint index to the end waypoint index.

      Return:
      WaypointTrajectoryTriggerParamAn object of WaypointTrajectoryTriggerParam.
      Interval Trigger Param
      method
      method getIntervalTriggerParam
      WaypointIntervalTriggerParam getIntervalTriggerParam()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The parameters of SIMPLE_INTERVAL. It's valid only when the getTriggerType is SIMPLE_INTERVAL.

      Return:
      WaypointIntervalTriggerParamAn object of WaypointIntervalTriggerParam.
      Constructor
      class
      Interval Trigger Param
      class
      Trajectory Trigger Param
      class
      Associate Trigger Param
      class
      Reach Point Trigger Param
      class