StaticConfig
public struct StaticConfig : Equatable
The static config of a plan.
-
Whether the RTH is custom.
Declaration
Swift
public var customRth: Bool?
-
The RTH type.
Declaration
Swift
public var rthType: ReturnHomeTarget?
-
The RTH altitude (in meters).
Declaration
Swift
public var rthAltitude: Double?
-
The RTH end altitude (in meters).
Declaration
Swift
public var rthEndAltitude: Double?
-
Whether to perform an RTH on link disconnection.
Declaration
Swift
public var disconnectionPolicy: FlightPlanDisconnectionPolicy?
-
Whether to land at the end of the RTH.
Declaration
Swift
public var rthEndingBehavior: ReturnHomeEndingBehavior?
-
Whether to digitally sign the acquired photos or not.
Declaration
Swift
public var digitalSignature: Camera2DigitalSignature?
-
The custom ID of the Plan.
Declaration
Swift
public var customId: String?
-
The custom title of the Plan.
Declaration
Swift
public var customTitle: String?
-
init(customRth:
rthType: rthAltitude: rthEndAltitude: disconnectionPolicy: rthEndingBehavior: digitalSignature: customId: customTitle: ) Constructor.
Declaration
Swift
public init(customRth: Bool? = nil, rthType: ReturnHomeTarget? = nil, rthAltitude: Double? = nil, rthEndAltitude: Double? = nil, disconnectionPolicy: FlightPlanDisconnectionPolicy? = nil, rthEndingBehavior: ReturnHomeEndingBehavior? = nil, digitalSignature: Camera2DigitalSignature? = .drone, customId: String? = nil, customTitle: String? = nil)
Parameters
customRth
whether the RTH is custom.
rthType
the RTH type.
rthAltitude
the RTH altitude (in meters).
rthEndAltitude
the RTH end altitude (in meters).
disconnectionPolicy
whether to perform an RTH on link disconnection.
rthEndingBehavior
whether to land ot the end of the RTH.
digitalSignature
whether to digitally sign the acquired photos or not.
customId
The custom ID of the plan.
customTitle
The custom title of the plan.