ServerUtility
public class ServerUtility
Utility for onboard MAVSDK instances for common “server” tasks.
-
Initializes a new
ServerUtilityplugin.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 RuntimeServerUtilityError : Error -
Undocumented
See moreDeclaration
Swift
public struct ServerUtilityError : Error -
Status types.
See moreDeclaration
Swift
public enum StatusTextType : Equatable -
Declaration
Swift
public struct ServerUtilityResult : Equatable -
Sends a statustext.
Declaration
Swift
public func sendStatusText(type: StatusTextType, text: String) -> CompletableParameters
typeThe text to send
textText message
View on GitHub
Install in Dash
ServerUtility Class Reference