Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Macros | |
#define | AGL_DIST_SONAR_ID ABI_BROADCAST |
default sonar More... | |
#define | AGL_DIST_SONAR_MAX_RANGE 5.0 |
#define | AGL_DIST_SONAR_MIN_RANGE 0.001 |
#define | AGL_DIST_SONAR_FILTER 5 |
Functions | |
static void | sonar_cb (uint8_t sender_id, float distance) |
void | agl_dist_init (void) |
Variables | |
float | agl_dist_valid |
float | agl_dist_value |
float | agl_dist_value_filtered |
abi_event | sonar_ev |
#define AGL_DIST_SONAR_FILTER 5 |
Definition at line 48 of file agl_dist.c.
Referenced by sonar_cb().
#define AGL_DIST_SONAR_ID ABI_BROADCAST |
#define AGL_DIST_SONAR_MAX_RANGE 5.0 |
Definition at line 42 of file agl_dist.c.
#define AGL_DIST_SONAR_MIN_RANGE 0.001 |
Definition at line 45 of file agl_dist.c.
Referenced by sonar_cb().
void agl_dist_init | ( | void | ) |
Definition at line 55 of file agl_dist.c.
References AGL_DIST_SONAR_ID, agl_dist_valid, agl_dist_value, agl_dist_value_filtered, FALSE, and sonar_cb().
|
static |
Definition at line 66 of file agl_dist.c.
References AGL_DIST_SONAR_FILTER, AGL_DIST_SONAR_MIN_RANGE, agl_dist_valid, agl_dist_value, agl_dist_value_filtered, FALSE, and TRUE.
Referenced by agl_dist_init(), and ins_int_init().
float agl_dist_valid |
Definition at line 33 of file agl_dist.c.
Referenced by agl_dist_init(), and sonar_cb().
float agl_dist_value |
Definition at line 34 of file agl_dist.c.
Referenced by agl_dist_init(), and sonar_cb().
float agl_dist_value_filtered |
Definition at line 35 of file agl_dist.c.
Referenced by agl_dist_init(), and sonar_cb().
abi_event sonar_ev |
Definition at line 51 of file agl_dist.c.