Attitude
public struct Attitude : Equatable
Type for attitude body angles in NED reference frame (roll, pitch, yaw and thrust)
-
Undocumented
Declaration
Swift
public let rollDeg: Float -
Undocumented
Declaration
Swift
public let pitchDeg: Float -
Undocumented
Declaration
Swift
public let yawDeg: Float -
Undocumented
Declaration
Swift
public let thrustValue: Float -
Initializes a new
Attitude.Declaration
Swift
public init(rollDeg: Float, pitchDeg: Float, yawDeg: Float, thrustValue: Float)Parameters
rollDegRoll angle (in degrees, positive is right side down)
pitchDegPitch angle (in degrees, positive is nose up)
yawDegYaw angle (in degrees, positive is move nose to the right)
thrustValueThrust (range: 0 to 1)
-
Declaration
Swift
public static func == (lhs: Attitude, rhs: Attitude) -> Bool
View on GitHub
Install in Dash
Attitude Structure Reference