ComponentInformation
public class ComponentInformation
Access component information such as parameters.
-
Initializes a new
ComponentInformation
plugin.Normally never created manually, but used from the
Drone
helper class instead.Declaration
Swift
public convenience init(address: String = "localhost", port: Int32 = 50051, scheduler: SchedulerType = ConcurrentDispatchQueueScheduler(qos: .background))
Parameters
address
The address of the
MavsdkServer
instance to connect toport
The port of the
MavsdkServer
instance to connect toscheduler
The scheduler to be used by
Observable
s -
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 }