StartPhotoCaptureCommand

public final class StartPhotoCaptureCommand : MavlinkStandard.MavlinkCommand

MAVLink command which allows to start photo capture.

Image format is not specified by this command. Use SetStillCaptureModeCommand for setting the photo format.

  • Elapsed time between two consecutive pictures, in seconds.

    Declaration

    Swift

    public var interval: Double { get }
  • Total number of photos to capture.

    Declaration

    Swift

    public var count: Int { get }
  • Photo capture format.

    Declaration

    Swift

    public var sequenceNumber: Int { get }
  • Constructor.

    Note

    Implicitly starts a timelapse if an interval is specified with a count greater than 0.

    Declaration

    Swift

    public init(interval: Double, count: Int, sequenceNumber: Int, frame: Frame = .command)

    Parameters

    interval

    desired elapsed time between two consecutive pictures, in seconds.

    count

    total number of photos to capture; 0 to capture until StopPhotoCaptureCommand is sent.

    sequenceNumber

    Capture sequence number starting from 1. This is only valid for single-capture (count == 1), otherwise set to 0. Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted.

    frame

    the reference frame of the coordinates.