Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Macros | |
#define | AGL_DIST_ID ABI_BROADCAST |
default sonar More... | |
#define | AGL_DIST_MAX_RANGE 5.0f |
#define | AGL_DIST_MIN_RANGE 0.001f |
#define | AGL_DIST_FILTER 0.1f |
Functions | |
static void | agl_cb (uint8_t sender_id, uint32_t stamp, float distance) |
void | agl_dist_init (void) |
Variables | |
float | agl_dist_valid |
float | agl_dist_value |
float | agl_dist_value_filtered |
float | agl_measurement_time |
abi_event | agl_ev |
#define AGL_DIST_FILTER 0.1f |
Definition at line 49 of file agl_dist.c.
#define AGL_DIST_ID ABI_BROADCAST |
default sonar
Definition at line 40 of file agl_dist.c.
#define AGL_DIST_MAX_RANGE 5.0f |
Definition at line 43 of file agl_dist.c.
#define AGL_DIST_MIN_RANGE 0.001f |
Definition at line 46 of file agl_dist.c.
Definition at line 86 of file agl_dist.c.
References AGL_DIST_FILTER, AGL_DIST_MIN_RANGE, agl_dist_valid, agl_dist_value, agl_dist_value_filtered, agl_measurement_time, and get_sys_time_float().
Referenced by agl_dist_init().
void agl_dist_init | ( | void | ) |
Definition at line 70 of file agl_dist.c.
References agl_cb(), AGL_DIST_ID, agl_dist_valid, agl_dist_value, agl_dist_value_filtered, agl_ev, agl_measurement_time, get_sys_time_float(), and preflight_check_register().
float agl_dist_valid |
Definition at line 33 of file agl_dist.c.
Referenced by agl_cb(), agl_dist_init(), check_parachute_arming(), and ground_detect_periodic().
float agl_dist_value |
Definition at line 34 of file agl_dist.c.
Referenced by agl_cb(), and agl_dist_init().
float agl_dist_value_filtered |
Definition at line 35 of file agl_dist.c.
Referenced by agl_cb(), agl_dist_init(), calc_edgeflow_tot(), calc_fast9_lukas_kanade(), check_parachute_arming(), and ground_detect_periodic().
abi_event agl_ev |
Definition at line 52 of file agl_dist.c.
Referenced by agl_dist_init().
float agl_measurement_time |
Definition at line 36 of file agl_dist.c.
Referenced by agl_cb(), and agl_dist_init().