Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
ins_skeleton.h File Reference
#include "std.h"
#include "math/pprz_geodetic_int.h"
#include "math/pprz_algebra_int.h"
#include "math/pprz_orientation_conversion.h"
#include "subsystems/ins.h"
#include "subsystems/gps.h"
+ Include dependency graph for ins_skeleton.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  InsModuleInt
 Ins implementation state (fixed point) More...
 

Functions

void ins_module_wrapper_init (void)
 
void ins_module_init (void)
 
void ins_module_propagate (struct Int32Vect3 *accel, float dt)
 
void ins_module_update_gps (struct GpsState *gps_s, float dt)
 
void ins_module_update_baro (float pressure)
 
void ins_module_reset_local_origin (void)
 

Variables

struct InsModuleInt ins_module
 global INS state More...
 

Detailed Description

Paparazzi specific wrapper to run simple module based INS.

Definition in file ins_skeleton.h.


Data Structure Documentation

◆ InsModuleInt

struct InsModuleInt

Ins implementation state (fixed point)

Definition at line 40 of file ins_skeleton.h.

+ Collaboration diagram for InsModuleInt:
Data Fields
struct OrientationReps body_to_imu body_to_imu rotation
struct GpsState gps internal copy of last GPS message
struct NedCoor_i ltp_accel
struct LtpDef_i ltp_def
bool ltp_initialized
struct NedCoor_i ltp_pos position in m in BFP with INT32_POS_FRAC
struct NedCoor_i ltp_speed velocity in m/s in BFP with INT32_SPEED_FRAC

Function Documentation

◆ ins_module_init()

void ins_module_init ( void  )

Definition at line 149 of file ins_skeleton.c.

Referenced by ins_module_wrapper_init().

+ Here is the caller graph for this function:

◆ ins_module_propagate()

void ins_module_propagate ( struct Int32Vect3 accel,
float  dt 
)

Definition at line 185 of file ins_skeleton.c.

References InsModuleInt::body_to_imu, ins_module, int32_rmat_transp_vmult(), InsModuleInt::ltp_accel, orientationGetRMat_i(), stateGetNedToBodyRMat_i(), stateSetAccelBody_i(), and VECT3_COPY.

Referenced by accel_cb().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ins_module_reset_local_origin()

void ins_module_reset_local_origin ( void  )

Definition at line 198 of file ins_skeleton.c.

Referenced by ins_reset_local_origin().

+ Here is the caller graph for this function:

◆ ins_module_update_baro()

void ins_module_update_baro ( float  pressure)

Definition at line 153 of file ins_skeleton.c.

Referenced by baro_cb().

+ Here is the caller graph for this function:

◆ ins_module_update_gps()

◆ ins_module_wrapper_init()

Variable Documentation

◆ ins_module