Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
nps_sensors.h
Go to the documentation of this file.
1 #ifndef NPS_SENSORS_H
2 #define NPS_SENSORS_H
3 
4 #include "math/pprz_algebra.h"
5 #include "nps_sensor_gyro.h"
6 #include "nps_sensor_accel.h"
7 #include "nps_sensor_mag.h"
8 #include "nps_sensor_baro.h"
9 #include "nps_sensor_gps.h"
10 #include "nps_sensor_sonar.h"
11 #include "nps_sensor_airspeed.h"
12 #include "nps_sensor_temperature.h"
13 #include "nps_sensor_aoa.h"
14 #include "nps_sensor_sideslip.h"
15 
16 struct NpsSensors {
20  struct NpsSensorMag mag;
22  struct NpsSensorGps gps;
28 };
29 
30 extern struct NpsSensors sensors;
31 
32 extern void nps_sensors_init(double time);
33 extern void nps_sensors_run_step(double time);
34 
35 extern bool nps_sensors_gyro_available();
36 extern bool nps_sensors_mag_available();
37 extern bool nps_sensors_baro_available();
38 extern bool nps_sensors_gps_available();
39 extern bool nps_sensors_sonar_available();
40 extern bool nps_sensors_airspeed_available();
42 extern bool nps_sensors_aoa_available();
43 extern bool nps_sensors_sideslip_available();
44 
45 #endif /* NPS_SENSORS_H */
NpsSensors::temp
struct NpsSensorTemperature temp
Definition: nps_sensors.h:25
NpsSensorSonar
Definition: nps_sensor_sonar.h:37
NpsSensors::gyro
struct NpsSensorGyro gyro
Definition: nps_sensors.h:18
NpsSensorAirspeed
Definition: nps_sensor_airspeed.h:37
NpsSensors::airspeed
struct NpsSensorAirspeed airspeed
Definition: nps_sensors.h:24
NpsSensors::baro
struct NpsSensorBaro baro
Definition: nps_sensors.h:21
nps_sensors_init
void nps_sensors_init(double time)
Definition: nps_sensors.c:8
NpsSensors::accel
struct NpsSensorAccel accel
Definition: nps_sensors.h:19
nps_sensor_aoa.h
NpsSensorBaro
Definition: nps_sensor_baro.h:9
nps_sensors_run_step
void nps_sensors_run_step(double time)
Definition: nps_sensors.c:28
NpsSensorGyro
Definition: nps_sensor_gyro.h:9
NpsSensorMag
Definition: nps_sensor_mag.h:9
nps_sensors_mag_available
bool nps_sensors_mag_available()
Definition: nps_sensors.c:52
nps_sensor_temperature.h
NpsSensorAngleOfAttack
Definition: nps_sensor_aoa.h:36
NpsSensors::aoa
struct NpsSensorAngleOfAttack aoa
Definition: nps_sensors.h:26
NpsSensors::body_to_imu_rmat
struct DoubleRMat body_to_imu_rmat
Definition: nps_sensors.h:17
nps_sensors_gps_available
bool nps_sensors_gps_available()
Definition: nps_sensors.c:70
nps_sensors_sideslip_available
bool nps_sensors_sideslip_available()
Definition: nps_sensors.c:115
NpsSensorGps
Definition: nps_sensor_gps.h:13
nps_sensor_gps.h
nps_sensor_baro.h
nps_sensors_baro_available
bool nps_sensors_baro_available()
Definition: nps_sensors.c:61
nps_sensor_accel.h
NpsSensorAccel
Definition: nps_sensor_accel.h:9
NpsSensorTemperature
Definition: nps_sensor_temperature.h:9
nps_sensor_gyro.h
nps_sensor_sonar.h
nps_sensor_mag.h
sensors
struct NpsSensors sensors
Definition: nps_sensors.c:6
nps_sensors_airspeed_available
bool nps_sensors_airspeed_available()
Definition: nps_sensors.c:88
nps_sensor_airspeed.h
nps_sensors_gyro_available
bool nps_sensors_gyro_available()
Definition: nps_sensors.c:43
DoubleRMat
rotation matrix
Definition: pprz_algebra_double.h:69
NpsSensors::sonar
struct NpsSensorSonar sonar
Definition: nps_sensors.h:23
nps_sensors_temperature_available
bool nps_sensors_temperature_available()
Definition: nps_sensors.c:97
nps_sensor_sideslip.h
NpsSensors::mag
struct NpsSensorMag mag
Definition: nps_sensors.h:20
NpsSensorSideSlip
Definition: nps_sensor_sideslip.h:36
pprz_algebra.h
Paparazzi generic algebra macros.
NpsSensors::gps
struct NpsSensorGps gps
Definition: nps_sensors.h:22
NpsSensors::sideslip
struct NpsSensorSideSlip sideslip
Definition: nps_sensors.h:27
nps_sensors_sonar_available
bool nps_sensors_sonar_available()
Definition: nps_sensors.c:79
NpsSensors
Definition: nps_sensors.h:16
nps_sensors_aoa_available
bool nps_sensors_aoa_available()
Definition: nps_sensors.c:106