class WaypointIntervalTriggerParam
class WaypointIntervalTriggerParam
Package: dji.common.mission.waypointv2.Action
Description:
This class defines TRAJECTORY
. This class only support the parameters of WaypointCameraActuatorParam
. You can add multiple actions to the trigger, 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 another action, the getAssociateType
should be AFTER_FINISHED
.
Class Members:
method getStartIndex
Package: dji.common.mission.waypointv2.Action
Description:
It determines the index of the waypoint at which the trigger starts.
Return:
int An int value of start index.
Action Interval Type
method
method getType
ActionIntervalType getType ()
Package: dji.common.mission.waypointv2.Action
Description:
The type of interval trigger. See ActionIntervalType
.
Return:
method getInterval
Package: dji.common.mission.waypointv2.Action
Description:
If the getType
is TIME
The time interval in seconds when two action are executed as the aircraft moves from the current waypoint to the next waypoint. If the getType
is DISTANCE
The distance interval in meters when two action are executed as the aircraft moves from the current waypoint to the next waypoint.
Return:
float A float value of the interval.
Make Waypoint Interval Trigger Param
class