Paparazzi UAS  v5.15_devel-61-g9c6bcf9
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nps_sensor_baro.c File Reference
#include "nps_sensor_baro.h"
#include "generated/airframe.h"
#include "std.h"
#include "nps_fdm.h"
#include "nps_random.h"
#include <NPS_SENSORS_PARAMS>
+ Include dependency graph for nps_sensor_baro.c:

Go to the source code of this file.

Macros

#define NPS_BARO_NOISE_STD_DEV   0.
 

Functions

void nps_sensor_baro_init (struct NpsSensorBaro *baro, double time)
 
void nps_sensor_baro_run_step (struct NpsSensorBaro *baro, double time)
 

Macro Definition Documentation

#define NPS_BARO_NOISE_STD_DEV   0.

Definition at line 11 of file nps_sensor_baro.c.

Referenced by nps_sensor_baro_init().

Function Documentation

void nps_sensor_baro_init ( struct NpsSensorBaro baro,
double  time 
)

Definition at line 14 of file nps_sensor_baro.c.

References NpsSensorBaro::data_available, FALSE, NpsSensorBaro::next_update, NpsSensorBaro::noise_std_dev, NPS_BARO_NOISE_STD_DEV, and NpsSensorBaro::value.

Referenced by nps_sensors_init().

+ Here is the caller graph for this function:

void nps_sensor_baro_run_step ( struct NpsSensorBaro baro,
double  time 
)

Definition at line 23 of file nps_sensor_baro.c.

References NpsSensorBaro::data_available, fdm, get_gaussian_noise(), NpsSensorBaro::next_update, NpsSensorBaro::noise_std_dev, NpsFdm::pressure, TRUE, and NpsSensorBaro::value.

Referenced by nps_sensors_run_step().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: