Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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 )
extern

Definition at line 50 of file imu_nps.c.

◆ imu_feed_mag()

void imu_feed_mag ( void )
extern

Definition at line 61 of file imu_nps.c.

◆ imu_nps_event()

void imu_nps_event ( void )
extern

Definition at line 68 of file imu_nps.c.

References get_sys_time_usec(), imu_nps, and IMU_NPS_ID.

Here is the call graph for this function:

◆ imu_nps_init()

void imu_nps_init ( void )
extern

Definition at line 30 of file imu_nps.c.

References ACCEL_FLOAT_OF_BFP, imu_nps, IMU_NPS_ID, imu_set_defaults_accel(), imu_set_defaults_gyro(), imu_set_defaults_mag(), MAG_FLOAT_OF_BFP, and RATE_FLOAT_OF_BFP.

Here is the call graph for this function:

Variable Documentation

◆ imu_nps

struct ImuNps imu_nps
extern

Definition at line 28 of file imu_nps.c.

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