Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
imu_nps.c File Reference
#include "modules/imu/imu_nps.h"
#include "modules/imu/imu.h"
#include "modules/core/abi.h"
#include "generated/airframe.h"
#include "nps_sensors.h"
+ Include dependency graph for imu_nps.c:

Go to the source code of this file.

Functions

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

Variables

struct ImuNps imu_nps
 

Function Documentation

◆ imu_feed_gyro_accel()

void imu_feed_gyro_accel ( void  )

Definition at line 66 of file imu_nps.c.

References ImuNps::accel, ImuNps::accel_available, ImuNps::gyro, ImuNps::gyro_available, imu_nps, RATES_ASSIGN, sensors, and VECT3_ASSIGN.

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

◆ imu_feed_mag()

void imu_feed_mag ( void  )

Definition at line 79 of file imu_nps.c.

References imu_nps, ImuNps::mag, ImuNps::mag_available, sensors, and VECT3_ASSIGN.

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

◆ imu_nps_event()

void imu_nps_event ( void  )

Definition at line 87 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

Definition at line 29 of file imu_nps.c.

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