3 #include "generated/airframe.h"
11 #ifndef NPS_TEMPERATURE_DT
12 #define NPS_TEMPERATURE_DT 0.01
15 #ifndef NPS_TEMPERATURE_NOISE_STD_DEV
16 #define NPS_TEMPERATURE_NOISE_STD_DEV 0.1
21 temperature->
value = 0.;
30 if (time < temperature->next_update) {
double temperature
current temperature in degrees Celcius
struct NpsFdm fdm
Holds all necessary NPS FDM state information.
double get_gaussian_noise(void)
void nps_sensor_temperature_init(struct NpsSensorTemperature *temperature, double time)
#define NPS_TEMPERATURE_DT
10Hz default
void nps_sensor_temperature_run_step(struct NpsSensorTemperature *temperature, double time)
#define NPS_TEMPERATURE_NOISE_STD_DEV
double noise_std_dev
noise standard deviation
double value
temperature in degrees Celcius