|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Get data from Cloud Sensor. More...
#include "std.h"Go to the source code of this file.
Macros | |
| #define | CLOUD_SENSOR_COEF_NONE 0 |
| #define | CLOUD_SENSOR_COEF_SINGLE 1 |
| #define | CLOUD_SENSOR_COEF_ANGSTROM 2 |
Functions | |
| void | cloud_sensor_update_tau (float tau) |
| void | cloud_sensor_init (void) |
| Init function. | |
| void | cloud_sensor_callback (uint8_t *buf) |
| New message/data callback. | |
| void | LWC_callback (uint8_t *buf) |
| void | cloud_sensor_report (void) |
| Report function. | |
Variables | |
| uint8_t | cloud_sensor_compute_coef |
| variables for settings | |
| uint8_t | cloud_sensor_compute_background |
| float | cloud_sensor_threshold |
| float | cloud_sensor_hysteresis |
| float | cloud_sensor_background |
| float | cloud_sensor_calib_alpha |
| float | cloud_sensor_calib_beta |
| float | cloud_sensor_channel_scale |
| float | cloud_sensor_tau |
Get data from Cloud Sensor.
Definition in file cloud_sensor.h.
| #define CLOUD_SENSOR_COEF_ANGSTROM 2 |
Definition at line 40 of file cloud_sensor.h.
Referenced by cloud_sensor_callback().
| #define CLOUD_SENSOR_COEF_NONE 0 |
Definition at line 38 of file cloud_sensor.h.
| #define CLOUD_SENSOR_COEF_SINGLE 1 |
Definition at line 39 of file cloud_sensor.h.
Referenced by cloud_sensor_callback(), and cloud_sensor_init().
|
extern |
New message/data callback.
New message/data callback.
Definition at line 397 of file cloud_sensor.c.
References angstrom_coef, angstrom_offset, check_border(), cloud_sensor, cloud_sensor_background, CLOUD_SENSOR_BACKGROUND_HYSTERESIS_COEF, CLOUD_SENSOR_BACKGROUND_NB, CLOUD_SENSOR_BACKGROUND_THRESHOLD_COEF, CLOUD_SENSOR_COEF_ANGSTROM, CLOUD_SENSOR_COEF_SINGLE, cloud_sensor_compute_background, cloud_sensor_compute_coef, cloud_sensor_filtering(), cloud_sensor_hysteresis, CLOUD_SENSOR_LOG_FILE, CLOUD_SENSOR_NB, CLOUD_SENSOR_OFFSET, CLOUD_SENSOR_RAW_MAX, CLOUD_SENSOR_SINGLE_CHANNEL, cloud_sensor_threshold, covariance_f(), UtmCoor_f::east, get_sys_time_usec(), gps, GpsFixValid, idx, log_tagged, lowPassFilter0, mean_f(), medianFilter0, Min, UtmCoor_f::north, pprzlog_tp, send_cloud_sensor_data(), send_data(), stateGetPositionUtm_f(), variance_f(), and UtmCoor_f::zone.
|
extern |
Init function.
Definition at line 290 of file cloud_sensor.c.
References cloud_sensor, cloud_sensor_background, CLOUD_SENSOR_BORDER_HYSTERESIS, CLOUD_SENSOR_BORDER_THRESHOLD, CLOUD_SENSOR_CALIB_ALPHA, cloud_sensor_calib_alpha, CLOUD_SENSOR_CALIB_BETA, cloud_sensor_calib_beta, CLOUD_SENSOR_CHANNEL_SCALE, cloud_sensor_channel_scale, CLOUD_SENSOR_COEF_SINGLE, cloud_sensor_compute_coef, cloud_sensor_hysteresis, CLOUD_SENSOR_NB, CLOUD_SENSOR_TAU, cloud_sensor_tau, cloud_sensor_threshold, init_first_order_low_pass(), lambdas, log_tagged, lowPassFilter0, medianFilter0, and variance_f().
|
extern |
Report function.
Definition at line 547 of file cloud_sensor.c.
References DefaultChannel, DefaultDevice, and send_cloud_sensor_data().
|
extern |
Definition at line 324 of file cloud_sensor.c.
References cloud_sensor_tau, lowPassFilter0, and update_first_order_low_pass_tau().
|
extern |
Definition at line 532 of file cloud_sensor.c.
References check_border(), cloud_sensor, get_sys_time_usec(), lwc_from_buffer(), and send_data().
|
extern |
Definition at line 200 of file cloud_sensor.c.
Referenced by cloud_sensor_callback(), and cloud_sensor_init().
|
extern |
Definition at line 201 of file cloud_sensor.c.
Referenced by cloud_sensor_filtering(), and cloud_sensor_init().
|
extern |
Definition at line 202 of file cloud_sensor.c.
Referenced by cloud_sensor_filtering(), and cloud_sensor_init().
|
extern |
Definition at line 203 of file cloud_sensor.c.
Referenced by cloud_sensor_filtering(), and cloud_sensor_init().
|
extern |
Definition at line 197 of file cloud_sensor.c.
Referenced by cloud_sensor_callback().
|
extern |
variables for settings
variables for settings
Definition at line 196 of file cloud_sensor.c.
Referenced by cloud_sensor_callback(), and cloud_sensor_init().
|
extern |
Definition at line 199 of file cloud_sensor.c.
Referenced by check_border(), cloud_sensor_callback(), and cloud_sensor_init().
|
extern |
Definition at line 204 of file cloud_sensor.c.
Referenced by cloud_sensor_init(), and cloud_sensor_update_tau().
|
extern |
Definition at line 198 of file cloud_sensor.c.
Referenced by check_border(), cloud_sensor_callback(), and cloud_sensor_init().