Paparazzi UAS  v6.2_unstable
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 
6 #ifndef NPS_SENSORS_PARAMS
7 #include "nps_sensors_params_default.h"
8 #else
9 #include NPS_SENSORS_PARAMS
10 #endif /* NPS_SENSORS_PARAMS */
11 #include "nps_sensor_gyro.h"
12 #include "nps_sensor_accel.h"
13 #include "nps_sensor_mag.h"
14 #include "nps_sensor_baro.h"
15 #include "nps_sensor_gps.h"
16 #include "nps_sensor_sonar.h"
17 #include "nps_sensor_airspeed.h"
18 #include "nps_sensor_temperature.h"
19 #include "nps_sensor_aoa.h"
20 #include "nps_sensor_sideslip.h"
21 
22 struct NpsSensors {
26  struct NpsSensorMag mag;
28  struct NpsSensorGps gps;
34 };
35 
36 extern struct NpsSensors sensors;
37 
38 extern void nps_sensors_init(double time);
39 extern void nps_sensors_run_step(double time);
40 
41 extern bool nps_sensors_gyro_available();
42 extern bool nps_sensors_mag_available();
43 extern bool nps_sensors_baro_available();
44 extern bool nps_sensors_gps_available();
45 extern bool nps_sensors_sonar_available();
46 extern bool nps_sensors_airspeed_available();
48 extern bool nps_sensors_aoa_available();
49 extern bool nps_sensors_sideslip_available();
50 
51 #endif /* NPS_SENSORS_H */
NpsSensors::temp
struct NpsSensorTemperature temp
Definition: nps_sensors.h:31
NpsSensorSonar
Definition: nps_sensor_sonar.h:37
NpsSensors::gyro
struct NpsSensorGyro gyro
Definition: nps_sensors.h:24
NpsSensorAirspeed
Definition: nps_sensor_airspeed.h:37
NpsSensors::airspeed
struct NpsSensorAirspeed airspeed
Definition: nps_sensors.h:30
NpsSensors::baro
struct NpsSensorBaro baro
Definition: nps_sensors.h:27
nps_sensors_init
void nps_sensors_init(double time)
Definition: nps_sensors.c:5
NpsSensors::accel
struct NpsSensorAccel accel
Definition: nps_sensors.h:25
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:25
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:49
nps_sensor_temperature.h
NpsSensorAngleOfAttack
Definition: nps_sensor_aoa.h:36
NpsSensors::aoa
struct NpsSensorAngleOfAttack aoa
Definition: nps_sensors.h:32
NpsSensors::body_to_imu_rmat
struct DoubleRMat body_to_imu_rmat
Definition: nps_sensors.h:23
nps_sensors_gps_available
bool nps_sensors_gps_available()
Definition: nps_sensors.c:67
nps_sensors_sideslip_available
bool nps_sensors_sideslip_available()
Definition: nps_sensors.c:112
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:58
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:3
nps_sensors_airspeed_available
bool nps_sensors_airspeed_available()
Definition: nps_sensors.c:85
nps_sensor_airspeed.h
nps_sensors_gyro_available
bool nps_sensors_gyro_available()
Definition: nps_sensors.c:40
DoubleRMat
rotation matrix
Definition: pprz_algebra_double.h:69
NpsSensors::sonar
struct NpsSensorSonar sonar
Definition: nps_sensors.h:29
nps_sensors_temperature_available
bool nps_sensors_temperature_available()
Definition: nps_sensors.c:94
nps_sensor_sideslip.h
NpsSensors::mag
struct NpsSensorMag mag
Definition: nps_sensors.h:26
NpsSensorSideSlip
Definition: nps_sensor_sideslip.h:36
pprz_algebra.h
Paparazzi generic algebra macros.
NpsSensors::gps
struct NpsSensorGps gps
Definition: nps_sensors.h:28
NpsSensors::sideslip
struct NpsSensorSideSlip sideslip
Definition: nps_sensors.h:33
nps_sensors_sonar_available
bool nps_sensors_sonar_available()
Definition: nps_sensors.c:76
NpsSensors
Definition: nps_sensors.h:22
nps_sensors_aoa_available
bool nps_sensors_aoa_available()
Definition: nps_sensors.c:103