Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 */
void nps_sensors_init(double time)
Definition: nps_sensors.c:8
struct NpsSensorAccel accel
Definition: nps_sensors.h:19
bool nps_sensors_aoa_available()
Definition: nps_sensors.c:106
bool nps_sensors_mag_available()
Definition: nps_sensors.c:52
bool nps_sensors_sideslip_available()
Definition: nps_sensors.c:115
bool nps_sensors_gps_available()
Definition: nps_sensors.c:70
Simulated airspeed for NPS simulator.
struct NpsSensorBaro baro
Definition: nps_sensors.h:21
struct NpsSensorGyro gyro
Definition: nps_sensors.h:18
struct DoubleRMat body_to_imu_rmat
Definition: nps_sensors.h:17
bool nps_sensors_sonar_available()
Definition: nps_sensors.c:79
struct NpsSensorSonar sonar
Definition: nps_sensors.h:23
struct NpsSensorAngleOfAttack aoa
Definition: nps_sensors.h:26
Paparazzi generic algebra macros.
Simulated Angle Of Attack of the Wind for NPS simulator.
Simulated sonar for NPS simulator.
Simulated Angle Of Attack of the Wind for NPS simulator.
struct NpsSensors sensors
Definition: nps_sensors.c:6
bool nps_sensors_gyro_available()
Definition: nps_sensors.c:43
rotation matrix
struct NpsSensorSideSlip sideslip
Definition: nps_sensors.h:27
void nps_sensors_run_step(double time)
Definition: nps_sensors.c:28
bool nps_sensors_airspeed_available()
Definition: nps_sensors.c:88
bool nps_sensors_baro_available()
Definition: nps_sensors.c:61
struct NpsSensorAirspeed airspeed
Definition: nps_sensors.h:24
struct NpsSensorTemperature temp
Definition: nps_sensors.h:25
struct NpsSensorMag mag
Definition: nps_sensors.h:20
struct NpsSensorGps gps
Definition: nps_sensors.h:22
bool nps_sensors_temperature_available()
Definition: nps_sensors.c:97