ControlStatus
public struct ControlStatus : Equatable
Control status
-
Undocumented
Declaration
Swift
public let controlMode: ControlMode
-
Undocumented
Declaration
Swift
public let sysidPrimaryControl: Int32
-
Undocumented
Declaration
Swift
public let compidPrimaryControl: Int32
-
Undocumented
Declaration
Swift
public let sysidSecondaryControl: Int32
-
Undocumented
Declaration
Swift
public let compidSecondaryControl: Int32
-
init(controlMode:
sysidPrimaryControl: compidPrimaryControl: sysidSecondaryControl: compidSecondaryControl: ) Initializes a new
ControlStatus
.Declaration
Swift
public init(controlMode: ControlMode, sysidPrimaryControl: Int32, compidPrimaryControl: Int32, sysidSecondaryControl: Int32, compidSecondaryControl: Int32)
Parameters
controlMode
Control mode (none, primary or secondary)
sysidPrimaryControl
Sysid of the component that has primary control over the gimbal (0 if no one is in control)
compidPrimaryControl
Compid of the component that has primary control over the gimbal (0 if no one is in control)
sysidSecondaryControl
Sysid of the component that has secondary control over the gimbal (0 if no one is in control)
compidSecondaryControl
Compid of the component that has secondary control over the gimbal (0 if no one is in control)
-
Declaration
Swift
public static func == (lhs: ControlStatus, rhs: ControlStatus) -> Bool