DJI Mobile SDK Documentation

      class WaypointActuator

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

      This class defines an actuator for WaypointV2Action. It determines how the action is performed when a waypoint mission is executed. You can add multiple actions with uploadWaypointActions. There are two scenarios for it. Parallel execution: In parallel scenario, You can excute multiple actions with one trigger at the same time, the actions must be sent to different modules. For example, since gimbal and camera are different modules, you can use a trigger to rotate gimbal pitch and you can also use another triger with identical parameters as the previous triger to take photos in order to execute these two actions at the same time. You can not use two triggers with identical parameters to take photos and record videos at the same time, because these two actions are excuted with the same mudule. Serial execution: In serial scenario, You can excute multiple actions one by one. For example, if you want to add actions for camera to take photo and record video, you should add action with WaypointV2AssociateTriggerParam. and set the associated action ID with previous action, the getAssociateType should be DJIWaypointV2TriggerAssociatedTimingTypeAfterFinished.

      Class Members:
      Type
      method
      method getActuatorType
      ActionActuatorType getActuatorType()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The type of actuator.

      Return:
      ActionActuatorTypeAn enum value of ActionActuatorType.
      Actuator Index
      method
      method getActuatorIndex
      int getActuatorIndex()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The index of actuator. It is valid when the diagnostics is related to camera or gimbal and the connected product has multiple gimbals and cameras.

      Return:
      intAn int value of actuator index.
      Camera Actuator Param
      method
      method getCameraActuatorParam
      WaypointCameraActuatorParam getCameraActuatorParam()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The camera actuator param, It is valid only when the getActuatorType is CAMERA.

      Return:
      WaypointCameraActuatorParamAn object of WaypointCameraActuatorParam.
      Gimbal Actuator Param
      method
      method getGimbalActuatorParam
      WaypointGimbalActuatorParam getGimbalActuatorParam()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Parameters for gimbal actuator. It is valid only when the getActuatorType is GIMBAL.

      Return:
      WaypointGimbalActuatorParamAn object of WaypointGimbalActuatorParam.
      Aircraft Control Actuator Param
      method
      method getAircraftControlActuatorParam
      WaypointAircraftControlParam getAircraftControlActuatorParam()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Parameters for lidar actuator. It is valid only when the getActuatorType is AIRCRAFT_CONTROL.

      Return:
      WaypointAircraftControlParamAn object of WaypointGimbalActuatorParam.
      Lidar Actuator Param
      method
      method getLidarActuatorParam
      WaypointLidarActuatorParam getLidarActuatorParam()
      Package:dji.common.mission.waypointv2.Action
      Description:

      Parameters for aircraft control actuator. It is valid only when the getActuatorType is LIDAR.

      Return:
      WaypointLidarActuatorParamAn object of WaypointLidarActuatorParam.
      Gimbal Actuator Param
      class
      Aircraft Control Param
      class
      Lidar Actuator Param
      class
      Camera Actuator Param
      class
      Make Waypoint Actuator
      class