VelocityBodyYawspeed
public struct VelocityBodyYawspeed : Equatable
Type for velocity commands in body coordinates.
-
Undocumented
Declaration
Swift
public let forwardMS: Float
-
Undocumented
Declaration
Swift
public let rightMS: Float
-
Undocumented
Declaration
Swift
public let downMS: Float
-
Undocumented
Declaration
Swift
public let yawspeedDegS: Float
-
Initializes a new
VelocityBodyYawspeed
.Declaration
Swift
public init(forwardMS: Float, rightMS: Float, downMS: Float, yawspeedDegS: Float)
Parameters
forwardMS
Velocity forward (in metres/second)
rightMS
Velocity right (in metres/second)
downMS
Velocity down (in metres/second)
yawspeedDegS
Yaw angular rate (in degrees/second, positive for clock-wise looking from above)
-
Declaration
Swift
public static func == (lhs: VelocityBodyYawspeed, rhs: VelocityBodyYawspeed) -> Bool