ComponentInformation
public class ComponentInformation
Access component information such as parameters.
-
Initializes a new
ComponentInformationplugin.Normally never created manually, but used from the
Dronehelper class instead.Declaration
Swift
public convenience init(address: String = "localhost", port: Int32 = 50051, scheduler: SchedulerType = ConcurrentDispatchQueueScheduler(qos: .background))Parameters
addressThe address of the
MavsdkServerinstance to connect toportThe port of the
MavsdkServerinstance to connect toschedulerThe scheduler to be used by
Observables -
Undocumented
See moreDeclaration
Swift
public struct RuntimeComponentInformationError : Error -
Undocumented
See moreDeclaration
Swift
public struct ComponentInformationError : Error -
Meta information for parameter of type float.
See moreDeclaration
Swift
public struct FloatParam : Equatable -
A float param that has been updated.
See moreDeclaration
Swift
public struct FloatParamUpdate : Equatable -
Result type.
See moreDeclaration
Swift
public struct ComponentInformationResult : Equatable -
List available float params.
Declaration
Swift
public func accessFloatParams() -> Single<[FloatParam]> -
Subscribe to float param changes/updates.
Declaration
Swift
public lazy var floatParam: Observable<FloatParamUpdate> { get set }
View on GitHub
Install in Dash
ComponentInformation Class Reference