Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
ins.h File Reference

Integrated Navigation System interface. More...

#include "std.h"
#include "math/pprz_geodetic_int.h"
#include "math/pprz_algebra_float.h"
+ Include dependency graph for ins.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INS_RESET_REF   0
 flags for INS reset More...
 
#define INS_RESET_VERTICAL_REF   1
 
#define INS_RESET_VERTICAL_POS   2
 
#define INS_RESET_UTM_ZONE   3
 

Functions

void ins_init_origin_i_from_flightplan (uint16_t id, struct LtpDef_i *ltp_def)
 initialize the local origin (ltp_def in fixed point) from flight plan position More...
 

Detailed Description

Integrated Navigation System interface.

Definition in file ins.h.

Macro Definition Documentation

◆ INS_RESET_REF

#define INS_RESET_REF   0

flags for INS reset

Definition at line 36 of file ins.h.

◆ INS_RESET_UTM_ZONE

#define INS_RESET_UTM_ZONE   3

Definition at line 39 of file ins.h.

◆ INS_RESET_VERTICAL_POS

#define INS_RESET_VERTICAL_POS   2

Definition at line 38 of file ins.h.

◆ INS_RESET_VERTICAL_REF

#define INS_RESET_VERTICAL_REF   1

Definition at line 37 of file ins.h.

Function Documentation

◆ ins_init_origin_i_from_flightplan()

void ins_init_origin_i_from_flightplan ( uint16_t  id,
struct LtpDef_i ltp_def 
)

initialize the local origin (ltp_def in fixed point) from flight plan position

Definition at line 33 of file ins.c.

References LlaCoor_i::alt, LtpDef_i::hmsl, LlaCoor_i::lat, LlaCoor_i::lon, ltp_def, ltp_def_from_lla_i(), and stateSetLocalOrigin_i().

Referenced by ins_int_init(), ins_module_wrapper_init(), and ins_vectornav_init().

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