|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
#include "math/pprz_algebra.h"#include "nps_sensor_gyro.h"#include "nps_sensor_accel.h"#include "nps_sensor_mag.h"#include "nps_sensor_baro.h"#include "nps_sensor_gps.h"#include "nps_sensor_sonar.h"#include "nps_sensor_airspeed.h"#include "nps_sensor_temperature.h"#include "nps_sensor_aoa.h"#include "nps_sensor_sideslip.h"
Include dependency graph for nps_sensors.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | NpsSensors |
Functions | |
| void | nps_sensors_init (double time) |
| void | nps_sensors_run_step (double time) |
| bool | nps_sensors_gyro_available () |
| bool | nps_sensors_mag_available () |
| bool | nps_sensors_baro_available () |
| bool | nps_sensors_gps_available () |
| bool | nps_sensors_sonar_available () |
| bool | nps_sensors_airspeed_available () |
| bool | nps_sensors_temperature_available () |
| bool | nps_sensors_aoa_available () |
| bool | nps_sensors_sideslip_available () |
Variables | |
| struct NpsSensors | sensors |
| struct NpsSensors |
Definition at line 16 of file nps_sensors.h.
Collaboration diagram for NpsSensors:| Data Fields | ||
|---|---|---|
| struct NpsSensorAccel | accel | |
| struct NpsSensorAirspeed | airspeed | |
| struct NpsSensorAngleOfAttack | aoa | |
| struct NpsSensorBaro | baro | |
| struct DoubleRMat | body_to_imu_rmat | |
| struct NpsSensorGps | gps | |
| struct NpsSensorGyro | gyro | |
| struct NpsSensorMag | mag | |
| struct NpsSensorSideSlip | sideslip | |
| struct NpsSensorSonar | sonar | |
| struct NpsSensorTemperature | temp | |
| bool nps_sensors_airspeed_available | ( | ) |
Definition at line 88 of file nps_sensors.c.
References NpsSensors::airspeed, NpsSensorAirspeed::data_available, FALSE, sensors, and TRUE.
Referenced by nps_autopilot_run_step().
Here is the caller graph for this function:| bool nps_sensors_aoa_available | ( | ) |
Definition at line 106 of file nps_sensors.c.
References NpsSensors::aoa, NpsSensorAngleOfAttack::data_available, FALSE, sensors, and TRUE.
Referenced by nps_autopilot_run_step().
Here is the caller graph for this function:| bool nps_sensors_baro_available | ( | ) |
Definition at line 61 of file nps_sensors.c.
References NpsSensors::baro, NpsSensorBaro::data_available, FALSE, sensors, and TRUE.
Referenced by nps_autopilot_run_step().
Here is the caller graph for this function:| bool nps_sensors_gps_available | ( | ) |
Definition at line 70 of file nps_sensors.c.
References NpsSensorGps::data_available, FALSE, NpsSensors::gps, sensors, and TRUE.
Referenced by nps_autopilot_run_step().
Here is the caller graph for this function:| bool nps_sensors_gyro_available | ( | ) |
Definition at line 43 of file nps_sensors.c.
References NpsSensorGyro::data_available, FALSE, NpsSensors::gyro, sensors, and TRUE.
Referenced by nps_autopilot_run_step().
Here is the caller graph for this function:| void nps_sensors_init | ( | double | time | ) |
Definition at line 8 of file nps_sensors.c.
References NpsSensors::accel, NpsSensors::airspeed, NpsSensors::aoa, NpsSensors::baro, NpsSensors::body_to_imu_rmat, double_rmat_of_eulers(), NpsSensors::gps, NpsSensors::gyro, NpsSensors::mag, nps_sensor_accel_init(), nps_sensor_airspeed_init(), nps_sensor_aoa_init(), nps_sensor_baro_init(), nps_sensor_gps_init(), nps_sensor_gyro_init(), nps_sensor_mag_init(), nps_sensor_sideslip_init(), nps_sensor_sonar_init(), nps_sensor_temperature_init(), sensors, NpsSensors::sideslip, NpsSensors::sonar, and NpsSensors::temp.
Referenced by nps_main_init().
Here is the call graph for this function:
Here is the caller graph for this function:| bool nps_sensors_mag_available | ( | ) |
Definition at line 52 of file nps_sensors.c.
References NpsSensorMag::data_available, FALSE, NpsSensors::mag, sensors, and TRUE.
Referenced by nps_autopilot_run_step().
Here is the caller graph for this function:| void nps_sensors_run_step | ( | double | time | ) |
Definition at line 28 of file nps_sensors.c.
References NpsSensors::accel, NpsSensors::airspeed, NpsSensors::aoa, NpsSensors::baro, NpsSensors::body_to_imu_rmat, NpsSensors::gps, NpsSensors::gyro, NpsSensors::mag, nps_sensor_accel_run_step(), nps_sensor_airspeed_run_step(), nps_sensor_aoa_run_step(), nps_sensor_baro_run_step(), nps_sensor_gps_run_step(), nps_sensor_gyro_run_step(), nps_sensor_mag_run_step(), nps_sensor_sideslip_run_step(), nps_sensor_sonar_run_step(), nps_sensor_temperature_run_step(), sensors, NpsSensors::sideslip, NpsSensors::sonar, and NpsSensors::temp.
Referenced by nps_main_run_sim_step().
Here is the call graph for this function:
Here is the caller graph for this function:| bool nps_sensors_sideslip_available | ( | ) |
Definition at line 115 of file nps_sensors.c.
References NpsSensorSideSlip::data_available, FALSE, sensors, NpsSensors::sideslip, and TRUE.
Referenced by nps_autopilot_run_step().
Here is the caller graph for this function:| bool nps_sensors_sonar_available | ( | ) |
Definition at line 79 of file nps_sensors.c.
References NpsSensorSonar::data_available, FALSE, sensors, NpsSensors::sonar, and TRUE.
Referenced by nps_autopilot_run_step().
Here is the caller graph for this function:| bool nps_sensors_temperature_available | ( | ) |
Definition at line 97 of file nps_sensors.c.
References NpsSensorTemperature::data_available, FALSE, sensors, NpsSensors::temp, and TRUE.
Referenced by nps_autopilot_run_step().
Here is the caller graph for this function:| struct NpsSensors sensors |
Definition at line 6 of file nps_sensors.c.
Referenced by gps_feed_value(), imu_feed_gyro_accel(), imu_feed_mag(), nps_autopilot_run_step(), nps_ins_fetch_data(), nps_main_display(), nps_sensors_airspeed_available(), nps_sensors_aoa_available(), nps_sensors_baro_available(), nps_sensors_gps_available(), nps_sensors_gyro_available(), nps_sensors_init(), nps_sensors_mag_available(), nps_sensors_run_step(), nps_sensors_sideslip_available(), nps_sensors_sonar_available(), and nps_sensors_temperature_available().