Vmeta_CameraMetadata

public struct Vmeta_CameraMetadata
extension Vmeta_CameraMetadata: @unchecked Sendable
extension Vmeta_CameraMetadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding

Undocumented

  • Frame capture timestamp (us, monotonic)

    Declaration

    Swift

    public var timestamp: UInt64 { get set }
  • Frame capture UTC timestamp (us since the Epoch)

    Declaration

    Swift

    public var utcTimestamp: UInt64 { get set }
  • Frame capture UTC timestamp accuracy (us); zero means unknown, utc_timestamp must then be considered invalid

    Declaration

    Swift

    public var utcTimestampAccuracy: UInt32 { get set }
  • Frame base view quaternion (without user pan/tilt)

    Declaration

    Swift

    public var baseQuat: Vmeta_Quaternion { get set }
  • Returns true if baseQuat has been explicitly set.

    Declaration

    Swift

    public var hasBaseQuat: Bool { get }
  • Clears the value of baseQuat. Subsequent reads from it will return its default value.

    Declaration

    Swift

    public mutating func clearBaseQuat()
  • Frame view quaternion

    Declaration

    Swift

    public var quat: Vmeta_Quaternion { get set }
  • Returns true if quat has been explicitly set.

    Declaration

    Swift

    public var hasQuat: Bool { get }
  • Clears the value of quat. Subsequent reads from it will return its default value.

    Declaration

    Swift

    public mutating func clearQuat()
  • Estimated position of the camera in the local frame (m). The local frame is not NED: X and Y axis are arbitrary, but the Z axis is guaranteed to point down. The position is initialized at first take off. This position is guaranteed not to jump, even when a new absolute position (usually GPS) is available. Instead, the origin of the local frame jumps in order to ensure the continuity of the local position. This position is not available on all cameras. If not available, the Drone.local_position metadata should be used instead.

    Declaration

    Swift

    public var localPosition: Vmeta_Vector3 { get set }
  • Returns true if localPosition has been explicitly set.

    Declaration

    Swift

    public var hasLocalPosition: Bool { get }
  • Clears the value of localPosition. Subsequent reads from it will return its default value.

    Declaration

    Swift

    public mutating func clearLocalPosition()
  • Camera location

    Declaration

    Swift

    public var location: Vmeta_Location { get set }
  • Returns true if location has been explicitly set.

    Declaration

    Swift

    public var hasLocation: Bool { get }
  • Clears the value of location. Subsequent reads from it will return its default value.

    Declaration

    Swift

    public mutating func clearLocation()
  • Camera principal point normalized coordinates in picture [0; 1]

    Declaration

    Swift

    public var principalPoint: Vmeta_Vector2 { get set }
  • Returns true if principalPoint has been explicitly set.

    Declaration

    Swift

    public var hasPrincipalPoint: Bool { get }
  • Clears the value of principalPoint. Subsequent reads from it will return its default value.

    Declaration

    Swift

    public mutating func clearPrincipalPoint()
  • Frame exposure time (ms)

    Declaration

    Swift

    public var exposureTime: Float { get set }
  • Frame ISO gain

    Declaration

    Swift

    public var isoGain: UInt32 { get set }
  • Frame AWB red gain

    Declaration

    Swift

    public var awbRGain: Float { get set }
  • Frame AWB blue gain

    Declaration

    Swift

    public var awbBGain: Float { get set }
  • Frame horizontal field of view (rad)

    Declaration

    Swift

    public var hfov: Float { get set }
  • Frame vertical field of view (rad)

    Declaration

    Swift

    public var vfov: Float { get set }
  • Declaration

    Swift

    public var unknownFields: UnknownStorage
  • Declaration

    Swift

    public init()

Code below here is support for the SwiftProtobuf runtime.

  • Declaration

    Swift

    public static let protoMessageName: String
  • Declaration

    Swift

    public static let _protobuf_nameMap: SwiftProtobuf._NameMap
  • Declaration

    Swift

    public mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
  • Declaration

    Swift

    public func traverse<V>(visitor: inout V) throws where V : Visitor
  • Declaration

    Swift

    public static func == (lhs: Vmeta_CameraMetadata, rhs: Vmeta_CameraMetadata) -> Bool