Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
nps_sensors.c File Reference
#include "nps_sensors.h"
#include "generated/airframe.h"
#include <NPS_SENSORS_PARAMS>
+ Include dependency graph for nps_sensors.c:

Go to the source code of this file.

Functions

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

Variables

struct NpsSensors sensors
 

Function Documentation

◆ nps_sensors_airspeed_available()

bool nps_sensors_airspeed_available ( void  )

Definition at line 88 of file nps_sensors.c.

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

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

◆ nps_sensors_aoa_available()

bool nps_sensors_aoa_available ( void  )

Definition at line 106 of file nps_sensors.c.

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

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

◆ nps_sensors_baro_available()

bool nps_sensors_baro_available ( void  )

Definition at line 61 of file nps_sensors.c.

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

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

◆ nps_sensors_gps_available()

bool nps_sensors_gps_available ( void  )

Definition at line 70 of file nps_sensors.c.

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

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

◆ nps_sensors_gyro_available()

bool nps_sensors_gyro_available ( void  )

Definition at line 43 of file nps_sensors.c.

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

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

◆ nps_sensors_init()

◆ nps_sensors_mag_available()

bool nps_sensors_mag_available ( void  )

Definition at line 52 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 ( void  )

Definition at line 115 of file nps_sensors.c.

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

Referenced by nps_autopilot_run_step().

+ Here is the caller graph for this function:

◆ nps_sensors_sonar_available()

bool nps_sensors_sonar_available ( void  )

Definition at line 79 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 ( void  )

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