Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
nps_sensors.h File Reference
#include "math/pprz_algebra.h"
#include "nps_sensors_params_default.h"
#include "nps_sensor_gyro.h"
#include "nps_sensor_accel.h"
#include "nps_sensor_mag.h"
#include "nps_sensor_baro.h"
#include "nps_sensor_gps.h"
#include "nps_sensor_sonar.h"
#include "nps_sensor_airspeed.h"
#include "nps_sensor_temperature.h"
#include "nps_sensor_aoa.h"
#include "nps_sensor_sideslip.h"
+ Include dependency graph for nps_sensors.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  NpsSensors
 

Functions

void nps_sensors_init (double time)
 
void nps_sensors_run_step (double time)
 
bool nps_sensors_gyro_available ()
 
bool nps_sensors_mag_available ()
 
bool nps_sensors_baro_available ()
 
bool nps_sensors_gps_available ()
 
bool nps_sensors_sonar_available ()
 
bool nps_sensors_airspeed_available ()
 
bool nps_sensors_temperature_available ()
 
bool nps_sensors_aoa_available ()
 
bool nps_sensors_sideslip_available ()
 

Variables

struct NpsSensors sensors
 

Data Structure Documentation

◆ NpsSensors

struct NpsSensors

Definition at line 22 of file nps_sensors.h.

+ Collaboration diagram for NpsSensors:
Data Fields
struct NpsSensorAccel accel
struct NpsSensorAirspeed airspeed
struct NpsSensorAngleOfAttack aoa
struct NpsSensorBaro baro
struct DoubleRMat body_to_imu_rmat
struct NpsSensorGps gps
struct NpsSensorGyro gyro
struct NpsSensorMag mag
struct NpsSensorSideSlip sideslip
struct NpsSensorSonar sonar
struct NpsSensorTemperature temp

Function Documentation

◆ nps_sensors_airspeed_available()

bool nps_sensors_airspeed_available ( )

Definition at line 85 of file nps_sensors.c.

References NpsSensors::airspeed, NpsSensorAirspeed::data_available, FALSE, sensors, and TRUE.

Referenced by nps_autopilot_run_step(), and nps_sensors_loop().

+ Here is the caller graph for this function:

◆ nps_sensors_aoa_available()

bool nps_sensors_aoa_available ( )

Definition at line 103 of file nps_sensors.c.

References NpsSensors::aoa, NpsSensorAngleOfAttack::data_available, FALSE, sensors, and TRUE.

Referenced by nps_autopilot_run_step(), and nps_sensors_loop().

+ Here is the caller graph for this function:

◆ nps_sensors_baro_available()

bool nps_sensors_baro_available ( )

Definition at line 58 of file nps_sensors.c.

References NpsSensors::baro, NpsSensorBaro::data_available, FALSE, sensors, and TRUE.

Referenced by nps_autopilot_run_step(), and nps_sensors_loop().

+ Here is the caller graph for this function:

◆ nps_sensors_gps_available()

bool nps_sensors_gps_available ( )

Definition at line 67 of file nps_sensors.c.

References NpsSensorGps::data_available, FALSE, NpsSensors::gps, sensors, and TRUE.

Referenced by nps_autopilot_run_step(), and nps_sensors_loop().

+ Here is the caller graph for this function:

◆ nps_sensors_gyro_available()

bool nps_sensors_gyro_available ( )

Definition at line 40 of file nps_sensors.c.

References NpsSensorGyro::data_available, FALSE, NpsSensors::gyro, sensors, and TRUE.

Referenced by nps_autopilot_run_step(), and nps_sensors_loop().

+ Here is the caller graph for this function:

◆ nps_sensors_init()

◆ nps_sensors_mag_available()

bool nps_sensors_mag_available ( )

Definition at line 49 of file nps_sensors.c.

References NpsSensorMag::data_available, FALSE, NpsSensors::mag, sensors, and TRUE.

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

◆ nps_sensors_run_step()

◆ nps_sensors_sideslip_available()

bool nps_sensors_sideslip_available ( )

Definition at line 112 of file nps_sensors.c.

References NpsSensorSideSlip::data_available, FALSE, sensors, NpsSensors::sideslip, and TRUE.

Referenced by nps_autopilot_run_step(), and nps_sensors_loop().

+ Here is the caller graph for this function:

◆ nps_sensors_sonar_available()

bool nps_sensors_sonar_available ( )

Definition at line 76 of file nps_sensors.c.

References NpsSensorSonar::data_available, FALSE, sensors, NpsSensors::sonar, and TRUE.

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

◆ nps_sensors_temperature_available()

bool nps_sensors_temperature_available ( )

Definition at line 94 of file nps_sensors.c.

References NpsSensorTemperature::data_available, FALSE, sensors, NpsSensors::temp, and TRUE.

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

Variable Documentation

◆ sensors