ComponentInformationServer
public class ComponentInformationServer
Provide component information such as parameters.
-
Initializes a new
ComponentInformationServer
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 RuntimeComponentInformationServerError : Error
-
Undocumented
See moreDeclaration
Swift
public struct ComponentInformationServerError : 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 ComponentInformationServerResult : Equatable
-
Provide a param of type float.
Declaration
Swift
public func provideFloatParam(param: FloatParam) -> Completable
Parameters
param
Float param definition
-
Subscribe to float param updates.
Declaration
Swift
public lazy var floatParam: Observable<FloatParamUpdate> { get set }