Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ins_chimu_spi.c File Reference
#include <stdbool.h>
#include "mcu_periph/spi.h"
#include "mcu_periph/spi_slave_hs_arch.h"
#include "estimator.h"
#include "subsystems/gps.h"
#include "mcu_periph/uart.h"
#include "messages.h"
#include "subsystems/datalink/downlink.h"
#include "ins_chimu_spi.h"
#include "imu_chimu.h"
+ Include dependency graph for ins_chimu_spi.c:

Go to the source code of this file.

Macros

#define DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE
 

Functions

void ins_init (void)
 
void parse_ins_msg (void)
 
void chimu_update_gps (void)
 
void ins_periodic_task (void)
 

Variables

CHIMU_PARSER_DATA CHIMU_DATA
 
INS_FORMAT ins_roll_neutral
 
INS_FORMAT ins_pitch_neutral
 
volatile uint8_t new_ins_attitude
 

Macro Definition Documentation

#define DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE

Definition at line 20 of file ins_chimu_spi.c.

Function Documentation

void chimu_update_gps ( void  )

Definition at line 96 of file ins_chimu_spi.c.

References CHIMU_Checksum(), GpsState::fix, FloatSwap, gps, GPS_FIX_3D, InsSend, and GpsState::speed_3d.

+ Here is the call graph for this function:

void ins_init ( void  )
void ins_periodic_task ( void  )

Definition at line 119 of file ins_chimu_spi.c.

void parse_ins_msg ( void  )

Definition at line 70 of file ins_chimu_spi.c.

Referenced by ins_event_task().

+ Here is the caller graph for this function:

Variable Documentation

CHIMU_PARSER_DATA CHIMU_DATA

Definition at line 31 of file ins_chimu_spi.c.

INS_FORMAT ins_pitch_neutral

Definition at line 34 of file ins_chimu_spi.c.

Referenced by ins_init().

INS_FORMAT ins_roll_neutral

Definition at line 33 of file ins_chimu_spi.c.

Referenced by ins_init().

volatile uint8_t new_ins_attitude

Definition at line 36 of file ins_chimu_spi.c.

Referenced by ins_init(), and parse_ins_msg().