Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
imu_nps.h File Reference
#include "modules/imu/imu.h"
#include "generated/airframe.h"
+ Include dependency graph for imu_nps.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ImuNps
 

Functions

void imu_feed_gyro_accel (void)
 
void imu_feed_mag (void)
 
void imu_nps_init (void)
 
void imu_nps_event (void)
 

Variables

struct ImuNps imu_nps
 

Data Structure Documentation

◆ ImuNps

struct ImuNps

Definition at line 28 of file imu_nps.h.

+ Collaboration diagram for ImuNps:
Data Fields
struct Int32Vect3 accel
uint8_t accel_available
struct Int32Rates gyro
uint8_t gyro_available
struct Int32Vect3 mag
uint8_t mag_available

Function Documentation

◆ imu_feed_gyro_accel()

void imu_feed_gyro_accel ( void  )

Definition at line 65 of file imu_nps.c.

◆ imu_feed_mag()

void imu_feed_mag ( void  )

Definition at line 76 of file imu_nps.c.

◆ imu_nps_event()

void imu_nps_event ( void  )

Definition at line 83 of file imu_nps.c.

References ImuNps::accel, ImuNps::accel_available, get_sys_time_usec(), ImuNps::gyro, ImuNps::gyro_available, imu_nps, IMU_NPS_ID, ImuNps::mag, and ImuNps::mag_available.

+ Here is the call graph for this function:

◆ imu_nps_init()

void imu_nps_init ( void  )

Variable Documentation

◆ imu_nps

struct ImuNps imu_nps
extern

Definition at line 1 of file imu_nps.c.

Referenced by imu_feed_gyro_accel(), imu_feed_mag(), imu_nps_event(), and imu_nps_init().