|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "modules/sonar/agl_dist.h"#include "modules/core/abi.h"#include "generated/airframe.h"#include "modules/datalink/downlink.h"
Include dependency graph for agl_dist.c:Go to the source code of this file.
Macros | |
| #define | AGL_DIST_ID ABI_BROADCAST |
| default sonar | |
| #define | AGL_DIST_MAX_RANGE 5.0f |
| #define | AGL_DIST_MIN_RANGE 0.001f |
| #define | AGL_DIST_FILTER 0.1f |
| #define | AGL_DIST_TIMEOUT 1.f |
Functions | |
| static void | agl_cb (uint8_t sender_id, uint32_t stamp, float distance) |
| void | agl_dist_init (void) |
| void | agl_dist_timeout (void) |
| void | agl_dist_report (void) |
Variables | |
| float | agl_dist_valid |
| float | agl_dist_value |
| float | agl_dist_value_filtered |
| float | agl_measurement_time |
| abi_event | agl_ev |
Definition at line 50 of file agl_dist.c.
| #define AGL_DIST_ID ABI_BROADCAST |
default sonar
Definition at line 41 of file agl_dist.c.
| #define AGL_DIST_MAX_RANGE 5.0f |
Definition at line 44 of file agl_dist.c.
Definition at line 47 of file agl_dist.c.
Definition at line 54 of file agl_dist.c.
Definition at line 91 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, foo, and get_sys_time_float().
Referenced by agl_dist_init().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 75 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, foo, get_sys_time_float(), and preflight_check_register().
Here is the call graph for this function:Definition at line 115 of file agl_dist.c.
References agl_dist_valid, agl_dist_value, agl_dist_value_filtered, DefaultChannel, DefaultDevice, f, and foo.
Definition at line 107 of file agl_dist.c.
References AGL_DIST_TIMEOUT, agl_dist_valid, agl_measurement_time, and get_sys_time_float().
Here is the call graph for this function:| float agl_dist_valid |
Definition at line 34 of file agl_dist.c.
Referenced by agl_cb(), agl_dist_init(), agl_dist_report(), agl_dist_timeout(), check_parachute_arming(), and ground_detect_periodic().
| float agl_dist_value |
Definition at line 35 of file agl_dist.c.
Referenced by agl_cb(), agl_dist_init(), and agl_dist_report().
| float agl_dist_value_filtered |
Definition at line 36 of file agl_dist.c.
Referenced by agl_cb(), agl_dist_init(), agl_dist_report(), calc_edgeflow_tot(), calc_fast9_lukas_kanade(), check_parachute_arming(), and ground_detect_periodic().
| abi_event agl_ev |
Definition at line 57 of file agl_dist.c.
Referenced by agl_dist_init().
| float agl_measurement_time |
Definition at line 37 of file agl_dist.c.
Referenced by agl_cb(), agl_dist_init(), and agl_dist_timeout().