StartPhotoCaptureCommand
public final class StartPhotoCaptureCommand : MavlinkCommand
MAVLink command which allows to start photo capture.
-
Photo format.
See moreDeclaration
Swift
public enum Format : Int, CustomStringConvertible
-
Elapsed time between two consecutive pictures, in seconds.
If interval is 0, the value defined with
SetStillCaptureModeCommand
is used instead, else the value returned here is used and capture mode is set to.timelapse
.Declaration
Swift
public let interval: Double
-
Total number of photos to capture.
Declaration
Swift
public let count: Int
-
Photo capture format.
Declaration
Swift
public let format: Format
-
Constructor.
Declaration
Swift
public init(interval: Double, count: Int, format: Format)
Parameters
interval
desired elapsed time between two consecutive pictures, in seconds; if interval is 0, the value defined with
SetStillCaptureModeCommand
is used instead, else the value given here is used and capture mode is set to.timelapse
count
total number of photos to capture; 0 to capture until
StopPhotoCaptureCommand
is sentformat
capture format