Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Functions | |
void | detect_gate_init (void) |
void | detect_gate_event (void) |
Variables | |
int | just_filtering |
int | n_samples |
int | min_px_size |
float | min_gate_quality |
int | min_n_sides |
float | gate_thickness |
uint8_t | color_Ym |
uint8_t | color_YM |
uint8_t | color_Um |
uint8_t | color_UM |
uint8_t | color_Vm |
uint8_t | color_VM |
int | exclude_top |
int | exclude_bottom |
struct FloatVect3 | drone_position |
struct gate_img | best_gate |
void detect_gate_event | ( | void | ) |
Definition at line 264 of file detect_gate.c.
References vision_relative_position_struct::cnt, DETECT_GATE_ABI_ID, detect_gate_has_new_data, detect_gate_x, detect_gate_y, detect_gate_z, detectgate_vision_position, gate_detect_mutex, vision_relative_position_struct::received, vision_relative_position_struct::x, vision_relative_position_struct::y, and vision_relative_position_struct::z.
void detect_gate_init | ( | void | ) |
Definition at line 305 of file detect_gate.c.
References cam_body, color_Um, color_UM, color_Vm, color_VM, color_Ym, color_YM, cv_add_to_device(), DefaultPeriodic, DETECT_GATE_CAMERA, DETECT_GATE_EXCLUDE_PIXELS_BOTTOM, DETECT_GATE_EXCLUDE_PIXELS_TOP, DETECT_GATE_FPS, detect_gate_func(), DETECT_GATE_GATE_THICKNESS, detect_gate_has_new_data, DETECT_GATE_JUST_FILTER, DETECT_GATE_MIN_GATE_QUALITY, DETECT_GATE_MIN_N_SIDES, DETECT_GATE_MIN_PIX_SIZE, DETECT_GATE_N_SAMPLES, detect_gate_x, detect_gate_y, detect_gate_z, exclude_bottom, exclude_top, f, gate_center_height, gate_detect_mutex, gate_size_m, gate_thickness, just_filtering, min_gate_quality, min_n_sides, min_px_size, n_samples, FloatEulers::phi, FloatEulers::psi, register_periodic_telemetry(), send_detect_gate_visual_position(), FloatEulers::theta, VECT3_ASSIGN, and world_corners.
struct gate_img best_gate |
Definition at line 101 of file detect_gate.c.
Referenced by detect_gate_func(), and snake_gate_detection().
uint8_t color_Um |
Definition at line 92 of file detect_gate.c.
Referenced by detect_gate_func(), detect_gate_init(), and snake_gate_detection().
uint8_t color_UM |
Definition at line 93 of file detect_gate.c.
Referenced by detect_gate_func(), detect_gate_init(), and snake_gate_detection().
uint8_t color_Vm |
Definition at line 94 of file detect_gate.c.
Referenced by detect_gate_func(), detect_gate_init(), and snake_gate_detection().
uint8_t color_VM |
Definition at line 95 of file detect_gate.c.
Referenced by detect_gate_func(), detect_gate_init(), and snake_gate_detection().
uint8_t color_Ym |
Definition at line 90 of file detect_gate.c.
Referenced by detect_gate_func(), detect_gate_init(), and snake_gate_detection().
uint8_t color_YM |
Definition at line 91 of file detect_gate.c.
Referenced by detect_gate_func(), detect_gate_init(), and snake_gate_detection().
struct FloatVect3 drone_position |
Definition at line 100 of file detect_gate.c.
Referenced by detect_gate_func().
int exclude_bottom |
Definition at line 97 of file detect_gate.c.
Referenced by detect_gate_func(), detect_gate_init(), and snake_gate_detection().
int exclude_top |
Definition at line 96 of file detect_gate.c.
Referenced by detect_gate_func(), detect_gate_init(), and snake_gate_detection().
float gate_thickness |
Definition at line 89 of file detect_gate.c.
Referenced by detect_gate_func(), detect_gate_init(), and snake_gate_detection().
int just_filtering |
Definition at line 84 of file detect_gate.c.
Referenced by detect_gate_func(), and detect_gate_init().
float min_gate_quality |
Definition at line 88 of file detect_gate.c.
Referenced by detect_gate_func(), detect_gate_init(), and snake_gate_detection().
int min_n_sides |
Definition at line 86 of file detect_gate.c.
Referenced by detect_gate_func(), detect_gate_init(), and snake_gate_detection().
int min_px_size |
Definition at line 87 of file detect_gate.c.
Referenced by detect_gate_func(), detect_gate_init(), and snake_gate_detection().
int n_samples |
Definition at line 85 of file detect_gate.c.
Referenced by analyze_linear_flow_field(), calc_fast9_lukas_kanade(), check_inside(), detect_gate_func(), detect_gate_init(), fit_linear_flow_field(), fit_linear_model(), fit_linear_model_prior(), get_indices_without_replacement(), get_size_divergence(), RANSAC_linear_model(), and snake_gate_detection().