SetViewModeCommand

public final class SetViewModeCommand : MavlinkCommand

MAVLink command which allows to set the view mode.

  • View mode.

    See more

    Declaration

    Swift

    public enum Mode : Int, CustomStringConvertible
  • View mode.

    Declaration

    Swift

    public let mode: Mode
  • Index of the Region Of Interest.

    Value is meaningless if mode is not .roi.

    Declaration

    Swift

    public let roiIndex: Int
  • Constructor.

    Declaration

    Swift

    public init(mode: Mode, roiIndex: Int = 0)

    Parameters

    mode

    view mode

    roiIndex

    index of the Region Of Interest if mode is .roi (if index is invalid, .absolute mode is used instead); value is ignored for any other mode