Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
nps_sensors_utils.h
Go to the documentation of this file.
1
#ifndef NPS_SENSORS_UTILS_H
2
#define NPS_SENSORS_UTILS_H
3
4
#include <glib.h>
5
#include "
math/pprz_algebra_double.h
"
6
7
struct
BoozDatedSensor
{
8
struct
DoubleVect3
*
value
;
9
double
time
;
10
};
11
12
struct
BoozDatedSensor_Single
{
13
double
*
value
;
14
double
time
;
15
};
16
17
/* cur_reading and sensor_reading must be of a type that can be cast to DoubleVect3* */
18
extern
void
UpdateSensorLatency
(
double
time, gpointer cur_reading, GSList **history,
19
double
latency, gpointer sensor_reading);
20
21
/* ...and the same for single double values */
22
extern
void
UpdateSensorLatency_Single
(
double
time, gpointer cur_reading, GSList **history,
23
double
latency, gpointer sensor_reading);
24
25
#endif
/* NPS_SENSORS_UTILS_H */
BoozDatedSensor::time
double time
Definition:
nps_sensors_utils.h:9
BoozDatedSensor_Single::time
double time
Definition:
nps_sensors_utils.h:14
BoozDatedSensor_Single::value
double * value
Definition:
nps_sensors_utils.h:13
UpdateSensorLatency_Single
void UpdateSensorLatency_Single(double time, gpointer cur_reading, GSList **history, double latency, gpointer sensor_reading)
Definition:
nps_sensors_utils.c:27
UpdateSensorLatency
void UpdateSensorLatency(double time, gpointer cur_reading, GSList **history, double latency, gpointer sensor_reading)
Definition:
nps_sensors_utils.c:6
BoozDatedSensor
Definition:
nps_sensors_utils.h:7
pprz_algebra_double.h
Paparazzi double precision floating point algebra.
BoozDatedSensor_Single
Definition:
nps_sensors_utils.h:12
BoozDatedSensor::value
struct DoubleVect3 * value
Definition:
nps_sensors_utils.h:8
DoubleVect3
Definition:
pprz_algebra_double.h:46
sw
simulator
nps
nps_sensors_utils.h
Generated on Tue Feb 1 2022 13:51:18 for Paparazzi UAS by
1.8.17