Paparazzi UAS  v5.15_devel-46-gd23ed71
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 */
float min_gate_quality
Definition: detect_gate.c:88
int exclude_bottom
Definition: detect_gate.c:97
struct FloatVect3 drone_position
Definition: detect_gate.c:100
uint8_t color_VM
Definition: detect_gate.c:95
uint8_t color_Vm
Definition: detect_gate.c:94
int exclude_top
Definition: detect_gate.c:96
int just_filtering
Definition: detect_gate.c:84
int min_px_size
Definition: detect_gate.c:87
uint8_t color_UM
Definition: detect_gate.c:93
void detect_gate_init(void)
Definition: detect_gate.c:305
struct gate_img best_gate
Definition: detect_gate.c:101
float gate_thickness
Definition: detect_gate.c:89
void detect_gate_event(void)
Definition: detect_gate.c:264
Computer vision framework for onboard processing.
uint8_t color_YM
Definition: detect_gate.c:91
int min_n_sides
Definition: detect_gate.c:86
uint8_t color_Ym
Definition: detect_gate.c:90
unsigned char uint8_t
Definition: types.h:14
uint8_t color_Um
Definition: detect_gate.c:92
int n_samples
Definition: detect_gate.c:85