Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
detect_gate.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018, Guido de Croon
3  *
4  * @file modules/computer_vision/undistort_image.h
5  */
6 
7 #ifndef DETECT_GATE_MODULE_H
8 #define DETECT_GATE_MODULE_H
9 
10 #include <stdint.h>
12 
13 // Module functions
14 extern void detect_gate_init(void);
15 extern void detect_gate_event(void);
16 
17 // settings:
18 extern int just_filtering;
19 extern int n_samples;
20 extern int min_px_size;
21 extern float min_gate_quality;
22 extern int min_n_sides;
23 extern float gate_thickness;
24 extern uint8_t color_Ym;
25 extern uint8_t color_YM;
26 extern uint8_t color_Um;
27 extern uint8_t color_UM;
28 extern uint8_t color_Vm;
29 extern uint8_t color_VM;
30 extern int exclude_top;
31 extern int exclude_bottom;
32 
33 // External variables that have the results:
34 extern struct FloatVect3 drone_position;
35 extern struct gate_img best_gate;
36 
37 
38 #endif /* DETECT_GATE_MODULE_H */
color_UM
uint8_t color_UM
Definition: detect_gate.c:93
exclude_top
int exclude_top
Definition: detect_gate.c:96
min_px_size
int min_px_size
Definition: detect_gate.c:87
detect_gate_init
void detect_gate_init(void)
Definition: detect_gate.c:305
color_Vm
uint8_t color_Vm
Definition: detect_gate.c:94
color_YM
uint8_t color_YM
Definition: detect_gate.c:91
exclude_bottom
int exclude_bottom
Definition: detect_gate.c:97
gate_thickness
float gate_thickness
Definition: detect_gate.c:89
just_filtering
int just_filtering
Definition: detect_gate.c:84
FloatVect3
Definition: pprz_algebra_float.h:54
color_VM
uint8_t color_VM
Definition: detect_gate.c:95
min_gate_quality
float min_gate_quality
Definition: detect_gate.c:88
cv.h
uint8_t
unsigned char uint8_t
Definition: types.h:14
best_gate
struct gate_img best_gate
Definition: detect_gate.c:101
min_n_sides
int min_n_sides
Definition: detect_gate.c:86
drone_position
struct FloatVect3 drone_position
Definition: detect_gate.c:100
gate_img
Definition: snake_gate_detection.h:50
detect_gate_event
void detect_gate_event(void)
Definition: detect_gate.c:264
color_Um
uint8_t color_Um
Definition: detect_gate.c:92
color_Ym
uint8_t color_Ym
Definition: detect_gate.c:90
n_samples
int n_samples
Definition: detect_gate.c:85