Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
#include <std.h>
Go to the source code of this file.
Data Structures | |
struct | AvoidNavigationStruct |
Macros | |
#define | NAV_LINE_AVOID_SEGMENT_LENGTH 2.0 |
Functions | |
void | init_avoid_navigation (void) |
void | run_avoid_navigation_onvision (void) |
void | increase_nav_heading (int32_t *heading, int32_t increment) |
Variables | |
struct AvoidNavigationStruct | avoid_navigation_data |
global VIDEO state More... | |
bool_t | obstacle_detected |
Definition in file avoid_navigation.h.
struct AvoidNavigationStruct |
Definition at line 69 of file stereocam_droplet.c.
Data Fields | ||
---|---|---|
uint8_t | mode |
0 = straight, 1 = right, 2 = left, ... 0 = nothing, 1 = climb, 2 = sideways, ... |
uint8_t | stereo_bin[8] | |
uint8_t | timeout |
#define NAV_LINE_AVOID_SEGMENT_LENGTH 2.0 |
Definition at line 38 of file avoid_navigation.h.
Referenced by run_avoid_navigation_onvision().
Definition at line 120 of file avoid_navigation.c.
Referenced by follow_me_periodic().
void init_avoid_navigation | ( | void | ) |
Definition at line 61 of file avoid_navigation.c.
References avoid_navigation_data, and AvoidNavigationStruct::mode.
Referenced by stereo_avoid_init().
void run_avoid_navigation_onvision | ( | void | ) |
Definition at line 68 of file avoid_navigation.c.
References ANGLE_FLOAT_OF_BFP, avoid_navigation_data, counter, uint8array::data, DefaultChannel, DefaultDevice, FALSE, AvoidNavigationStruct::mode, nav_heading, NAV_LINE_AVOID_SEGMENT_LENGTH, obstacle_detected, POS_BFP_OF_REAL, stateGetPositionEnu_i(), AvoidNavigationStruct::stereo_bin, stereocam_data, TRUE, waypoint_set_xy_i(), EnuCoor_i::x, EnuCoor_i::y, and EnuCoor_i::z.
Referenced by stereo_avoid_run().
struct AvoidNavigationStruct avoid_navigation_data |
global VIDEO state
Definition at line 75 of file stereocam_droplet.c.
Referenced by init_avoid_navigation(), run_avoid_navigation_onvision(), stereo_avoid_init(), stereo_avoid_run(), stereo_parse(), stereocam_droplet_init(), and stereocam_droplet_periodic().
bool_t obstacle_detected |
Definition at line 57 of file avoid_navigation.c.
Referenced by run_avoid_navigation_onvision(), and stereocam_droplet_periodic().