Info
public class Info
Provide information about the hardware and/or software of a system.
-
Initializes a new
Infoplugin.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 RuntimeInfoError : Error -
Undocumented
See moreDeclaration
Swift
public struct InfoError : Error -
System flight information.
See moreDeclaration
Swift
public struct FlightInfo : Equatable -
System identification.
See moreDeclaration
Swift
public struct Identification : Equatable -
System product information.
See moreDeclaration
Swift
public struct Product : Equatable -
System version information.
See moreDeclaration
Swift
public struct Version : Equatable -
Result type.
See moreDeclaration
Swift
public struct InfoResult : Equatable -
Get flight information of the system.
Declaration
Swift
public func getFlightInformation() -> Single<FlightInfo> -
Get the identification of the system.
Declaration
Swift
public func getIdentification() -> Single<Identification> -
Get product information of the system.
Declaration
Swift
public func getProduct() -> Single<Product> -
Get the version information of the system.
Declaration
Swift
public func getVersion() -> Single<Version> -
Get the speed factor of a simulation (with lockstep a simulation can run faster or slower than realtime).
Declaration
Swift
public func getSpeedFactor() -> Single<Double>
View on GitHub
Install in Dash
Info Class Reference