Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
StabilizationSetpoint Struct Reference

Stabilization setpoint. More...

#include <stabilization.h>

Public Types

enum  {
  STAB_SP_QUAT , STAB_SP_EULERS , STAB_SP_LTP , STAB_SP_RATES ,
  STAB_SP_QUAT_FF_RATE
}
 
enum  { STAB_SP_INT , STAB_SP_FLOAT }
 

Data Fields

enum StabilizationSetpoint:: { ... }  type
 
enum StabilizationSetpoint:: { ... }  format
 
union {
struct Int32Quat quat_i
 
struct FloatQuat quat_f
 
struct Int32Eulers eulers_i
 
struct FloatEulers eulers_f
 
   struct {
struct Int32Vect2 vect
 
int32_t heading
 
   } ltp_i
 
   struct {
struct FloatVect2 vect
 
float heading
 
   } ltp_f
 
sp
 
union {
struct Int32Rates rates_i
 
struct FloatRates rates_f
 
r_sp
 

Detailed Description

Stabilization setpoint.

Struture to store the desired attitude with different frames and representations

Definition at line 53 of file stabilization.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
STAB_SP_QUAT 

LTP to Body orientation in unit quaternion.

STAB_SP_EULERS 

LTP to Body orientation in euler angles.

STAB_SP_LTP 

banking and heading in LTP (NED) frame

STAB_SP_RATES 

body rates

STAB_SP_QUAT_FF_RATE 

LTP to Body orientation in unit quaternion with precomputed feedforward rates.

Definition at line 54 of file stabilization.h.

◆ anonymous enum

anonymous enum
Enumerator
STAB_SP_INT 
STAB_SP_FLOAT 

Definition at line 61 of file stabilization.h.

Field Documentation

◆ 

enum { ... } StabilizationSetpoint::format

◆ 

union { ... } StabilizationSetpoint::r_sp

◆ 

union { ... } StabilizationSetpoint::sp

◆ 

enum { ... } StabilizationSetpoint::type

The documentation for this struct was generated from the following file: