Paparazzi UAS  v5.4.2_stable-3-gc351a71
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Attitude representations
+ Collaboration diagram for Attitude representations:

Functions

static bool_t stateIsAttitudeValid (void)
 Test if attitudes are valid. More...
 
static void stateSetNedToBodyQuat_i (struct Int32Quat *ned_to_body_quat)
 Set vehicle body attitude from quaternion (int). More...
 
static void stateSetNedToBodyRMat_i (struct Int32RMat *ned_to_body_rmat)
 Set vehicle body attitude from rotation matrix (int). More...
 
static void stateSetNedToBodyEulers_i (struct Int32Eulers *ned_to_body_eulers)
 Set vehicle body attitude from euler angles (int). More...
 
static void stateSetNedToBodyQuat_f (struct FloatQuat *ned_to_body_quat)
 Set vehicle body attitude from quaternion (float). More...
 
static void stateSetNedToBodyRMat_f (struct FloatRMat *ned_to_body_rmat)
 Set vehicle body attitude from rotation matrix (float). More...
 
static void stateSetNedToBodyEulers_f (struct FloatEulers *ned_to_body_eulers)
 Set vehicle body attitude from euler angles (float). More...
 
static struct Int32QuatstateGetNedToBodyQuat_i (void)
 Get vehicle body attitude quaternion (int). More...
 
static struct Int32RMatstateGetNedToBodyRMat_i (void)
 Get vehicle body attitude rotation matrix (int). More...
 
static struct Int32EulersstateGetNedToBodyEulers_i (void)
 Get vehicle body attitude euler angles (int). More...
 
static struct FloatQuatstateGetNedToBodyQuat_f (void)
 Get vehicle body attitude quaternion (float). More...
 
static struct FloatRMatstateGetNedToBodyRMat_f (void)
 Get vehicle body attitude rotation matrix (float). More...
 
static struct FloatEulersstateGetNedToBodyEulers_f (void)
 Get vehicle body attitude euler angles (float). More...
 

Detailed Description

Function Documentation

static struct FloatQuat* stateGetNedToBodyQuat_f ( void  )
static

Get vehicle body attitude quaternion (float).

Definition at line 1102 of file state.h.

References State::ned_to_body_orientation, orientationGetQuat_f(), and state.

Referenced by ahrs_realign_heading(), mavlink_send_attitude_quaternion(), and stabilization_attitude_run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static struct Int32Quat* stateGetNedToBodyQuat_i ( void  )
static

Get vehicle body attitude quaternion (int).

Definition at line 1084 of file state.h.

References State::ned_to_body_orientation, orientationGetQuat_i(), and state.

Referenced by ahrs_realign_heading(), file_logger_periodic(), and stabilization_attitude_run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static struct FloatRMat* stateGetNedToBodyRMat_f ( void  )
static

Get vehicle body attitude rotation matrix (float).

Definition at line 1108 of file state.h.

References State::ned_to_body_orientation, orientationGetRMat_f(), and state.

Referenced by ahrs_update_heading(), and ins_propagate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static struct Int32RMat* stateGetNedToBodyRMat_i ( void  )
static

Get vehicle body attitude rotation matrix (int).

Definition at line 1090 of file state.h.

References State::ned_to_body_orientation, orientationGetRMat_i(), and state.

Referenced by ahrs_update_heading(), b2_hff_propagate(), get_vertical_thrust_coeff(), and ins_propagate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static bool_t stateIsAttitudeValid ( void  )
inlinestatic

Test if attitudes are valid.

Definition at line 1038 of file state.h.

References State::ned_to_body_orientation, orienationCheckValid(), and state.

Referenced by imu_SetBodyToImuCurrent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void stateSetNedToBodyEulers_f ( struct FloatEulers ned_to_body_eulers)
inlinestatic

Set vehicle body attitude from euler angles (float).

Definition at line 1076 of file state.h.

References State::ned_to_body_orientation, orientationSetEulers_f(), and state.

Referenced by ahrs_propagate(), ahrs_update_infrared(), ArduIMU_event(), ArduIMU_periodic(), gx3_packet_read_message(), IMU_Daten_verarbeiten(), parse_ins_msg(), update_ahrs_from_sim(), and vn100_event_task().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void stateSetNedToBodyEulers_i ( struct Int32Eulers ned_to_body_eulers)
inlinestatic

Set vehicle body attitude from euler angles (int).

Definition at line 1058 of file state.h.

References State::ned_to_body_orientation, orientationSetEulers_i(), and state.

+ Here is the call graph for this function:

static void stateSetNedToBodyQuat_f ( struct FloatQuat ned_to_body_quat)
inlinestatic

Set vehicle body attitude from quaternion (float).

Definition at line 1064 of file state.h.

References State::ned_to_body_orientation, orientationSetQuat_f(), and state.

Referenced by ahrs_propagate(), ahrs_realign_heading(), compute_body_orientation_and_rates(), and set_body_state_from_quat().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void stateSetNedToBodyQuat_i ( struct Int32Quat ned_to_body_quat)
inlinestatic

Set vehicle body attitude from quaternion (int).

Definition at line 1046 of file state.h.

References State::ned_to_body_orientation, orientationSetQuat_i(), and state.

Referenced by ahrs_realign_heading(), and set_body_state_from_quat().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void stateSetNedToBodyRMat_f ( struct FloatRMat ned_to_body_rmat)
inlinestatic

Set vehicle body attitude from rotation matrix (float).

Definition at line 1070 of file state.h.

References State::ned_to_body_orientation, orientationSetRMat_f(), and state.

Referenced by gx3_packet_read_message(), and set_body_orientation_and_rates().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void stateSetNedToBodyRMat_i ( struct Int32RMat ned_to_body_rmat)
inlinestatic

Set vehicle body attitude from rotation matrix (int).

Definition at line 1052 of file state.h.

References State::ned_to_body_orientation, orientationSetRMat_i(), and state.

Referenced by set_body_state_from_euler().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: