ComponentInformationServer
public class ComponentInformationServer
Provide component information such as parameters.
-
Initializes a new
ComponentInformationServerplugin.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 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) -> CompletableParameters
paramFloat param definition
-
Subscribe to float param updates.
Declaration
Swift
public lazy var floatParam: Observable<FloatParamUpdate> { get set }
View on GitHub
Install in Dash
ComponentInformationServer Class Reference