Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
ahrs_chimu_uart.c File Reference
#include <stdbool.h>
#include "state.h"
#include "modules/gps/gps.h"
#include "modules/ahrs/ahrs.h"
#include "generated/airframe.h"
#include "modules/ins/ins_module.h"
#include "modules/ins/imu_chimu.h"
#include "led.h"
+ Include dependency graph for ahrs_chimu_uart.c:

Go to the source code of this file.

Functions

static bool ahrs_chimu_enable_output (bool enable)
 
void ahrs_chimu_register (void)
 
void ahrs_chimu_init (void)
 
void parse_ins_msg (void)
 

Variables

CHIMU_PARSER_DATA CHIMU_DATA
 
INS_FORMAT ins_roll_neutral
 
INS_FORMAT ins_pitch_neutral
 
struct AhrsChimu ahrs_chimu
 

Function Documentation

◆ ahrs_chimu_enable_output()

static bool ahrs_chimu_enable_output ( bool  enable)
static

Definition at line 35 of file ahrs_chimu_uart.c.

References ahrs_chimu, and AhrsChimu::is_enabled.

Referenced by ahrs_chimu_register().

+ Here is the caller graph for this function:

◆ ahrs_chimu_init()

void ahrs_chimu_init ( void  )

◆ ahrs_chimu_register()

void ahrs_chimu_register ( void  )

Definition at line 41 of file ahrs_chimu_uart.c.

References ahrs_chimu_enable_output(), AHRS_CHIMU_GPS_ID, ahrs_chimu_init(), ahrs_register_impl(), gps_cb(), and gps_ev.

+ Here is the call graph for this function:

◆ parse_ins_msg()

Variable Documentation

◆ ahrs_chimu

struct AhrsChimu ahrs_chimu

Definition at line 31 of file ahrs_chimu_uart.c.

Referenced by ahrs_chimu_enable_output(), ahrs_chimu_init(), and parse_ins_msg().

◆ CHIMU_DATA

CHIMU_PARSER_DATA CHIMU_DATA

Definition at line 28 of file ahrs_chimu_uart.c.

Referenced by ahrs_chimu_init(), and parse_ins_msg().

◆ ins_pitch_neutral

INS_FORMAT ins_pitch_neutral

Definition at line 31 of file ahrs_chimu_uart.c.

Referenced by ahrs_chimu_init().

◆ ins_roll_neutral

INS_FORMAT ins_roll_neutral

Definition at line 30 of file ahrs_chimu_uart.c.

Referenced by ahrs_chimu_init().