CameraTriggerDistanceCommand
public final class CameraTriggerDistanceCommand : MavlinkCommand
MAVLink command which sets camera trigger distance.
Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera.
You can stop the capturing media by issuing a MavlinkStandard.MavlinkCommand
.
-
Camera trigger distance (meters). Use 0 to ignore.
The minimum value is 0.
Declaration
Swift
public var distance: Double { get }
-
Camera shutter integration time in milliseconds. Should be less than trigger cycle time. Use -1 or 0 to ignore.
The minimum value is -1 and the increment is 1.
Note
Ignored by Anafi.Declaration
Swift
public var shutterIntegration: Int { get }
-
Trigger camera once immediately.
Declaration
Swift
public var triggerOnceImmediately: Bool { get }
-
Constructor.
Declaration
Swift
public init(distance: Double, shutterIntegration: Int = -1, triggerOnceImmediately: Bool, frame: Frame = .command)
Parameters
distance
Camera trigger distance in meters. Use 0 to stop triggering. The minimum value is 0.
triggerOnceImmediately
Trigger camera once immediately. Ignored by Anafi.
frame
the reference frame of the coordinates.