AttitudeRate

public struct AttitudeRate : Equatable

Type for attitude rate commands in body coordinates (roll, pitch, yaw angular rate and thrust)

  • Undocumented

    Declaration

    Swift

    public let rollDegS: Float
  • Undocumented

    Declaration

    Swift

    public let pitchDegS: Float
  • Undocumented

    Declaration

    Swift

    public let yawDegS: Float
  • Undocumented

    Declaration

    Swift

    public let thrustValue: Float
  • Initializes a new AttitudeRate.

    Declaration

    Swift

    public init(rollDegS: Float, pitchDegS: Float, yawDegS: Float, thrustValue: Float)

    Parameters

    rollDegS

    Roll angular rate (in degrees/second, positive for clock-wise looking from front)

    pitchDegS

    Pitch angular rate (in degrees/second, positive for head/front moving up)

    yawDegS

    Yaw angular rate (in degrees/second, positive for clock-wise looking from above)

    thrustValue

    Thrust (range: 0 to 1)

  • Declaration

    Swift

    public static func == (lhs: AttitudeRate, rhs: AttitudeRate) -> Bool