Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "nps_sensors.h"
Go to the source code of this file.
Functions | |
void | nps_sensors_init (double time) |
void | nps_sensors_run_step (double time) |
bool | nps_sensors_gyro_available (void) |
bool | nps_sensors_mag_available (void) |
bool | nps_sensors_baro_available (void) |
bool | nps_sensors_gps_available (void) |
bool | nps_sensors_sonar_available (void) |
bool | nps_sensors_airspeed_available (void) |
bool | nps_sensors_temperature_available (void) |
bool | nps_sensors_aoa_available (void) |
bool | nps_sensors_sideslip_available (void) |
Variables | |
struct NpsSensors | sensors |
bool nps_sensors_airspeed_available | ( | void | ) |
Definition at line 85 of file nps_sensors.c.
References NpsSensors::airspeed, NpsSensorAirspeed::data_available, FALSE, sensors, and TRUE.
Referenced by nps_autopilot_run_step(), and nps_sensors_loop().
bool nps_sensors_aoa_available | ( | void | ) |
Definition at line 103 of file nps_sensors.c.
References NpsSensors::aoa, NpsSensorAngleOfAttack::data_available, FALSE, sensors, and TRUE.
Referenced by nps_autopilot_run_step(), and nps_sensors_loop().
bool nps_sensors_baro_available | ( | void | ) |
Definition at line 58 of file nps_sensors.c.
References NpsSensors::baro, NpsSensorBaro::data_available, FALSE, sensors, and TRUE.
Referenced by nps_autopilot_run_step(), and nps_sensors_loop().
bool nps_sensors_gps_available | ( | void | ) |
Definition at line 67 of file nps_sensors.c.
References NpsSensorGps::data_available, FALSE, NpsSensors::gps, sensors, and TRUE.
Referenced by nps_autopilot_run_step(), and nps_sensors_loop().
bool nps_sensors_gyro_available | ( | void | ) |
Definition at line 40 of file nps_sensors.c.
References NpsSensorGyro::data_available, FALSE, NpsSensors::gyro, sensors, and TRUE.
Referenced by nps_autopilot_run_step(), and nps_sensors_loop().
void nps_sensors_init | ( | double | time | ) |
Definition at line 5 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, NpsSensors::temp, and time.
Referenced by nps_main_init().
bool nps_sensors_mag_available | ( | void | ) |
Definition at line 49 of file nps_sensors.c.
References NpsSensorMag::data_available, FALSE, NpsSensors::mag, sensors, and TRUE.
Referenced by nps_autopilot_run_step().
void nps_sensors_run_step | ( | double | time | ) |
Definition at line 25 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, NpsSensors::temp, and time.
Referenced by nps_main_run_sim_step().
bool nps_sensors_sideslip_available | ( | void | ) |
Definition at line 112 of file nps_sensors.c.
References NpsSensorSideSlip::data_available, FALSE, sensors, NpsSensors::sideslip, and TRUE.
Referenced by nps_autopilot_run_step(), and nps_sensors_loop().
bool nps_sensors_sonar_available | ( | void | ) |
Definition at line 76 of file nps_sensors.c.
References NpsSensorSonar::data_available, FALSE, sensors, NpsSensors::sonar, and TRUE.
Referenced by nps_autopilot_run_step().
bool nps_sensors_temperature_available | ( | void | ) |
Definition at line 94 of file nps_sensors.c.
References NpsSensorTemperature::data_available, FALSE, sensors, NpsSensors::temp, and TRUE.
Referenced by nps_autopilot_run_step().
struct NpsSensors sensors |
Definition at line 1 of file nps_sensors.c.
Referenced by 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().