Paparazzi UAS  v7.0_unstable
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 */
Computer vision framework for onboard processing.
int n_samples
Definition: detect_gate.c:85
uint8_t color_Um
Definition: detect_gate.c:92
void detect_gate_event(void)
Definition: detect_gate.c:264
float gate_thickness
Definition: detect_gate.c:89
uint8_t color_Vm
Definition: detect_gate.c:94
uint8_t color_VM
Definition: detect_gate.c:95
int min_px_size
Definition: detect_gate.c:87
uint8_t color_YM
Definition: detect_gate.c:91
struct gate_img best_gate
Definition: detect_gate.c:101
int just_filtering
Definition: detect_gate.c:84
struct FloatVect3 drone_position
Definition: detect_gate.c:100
int exclude_top
Definition: detect_gate.c:96
int exclude_bottom
Definition: detect_gate.c:97
float min_gate_quality
Definition: detect_gate.c:88
uint8_t color_UM
Definition: detect_gate.c:93
int min_n_sides
Definition: detect_gate.c:86
uint8_t color_Ym
Definition: detect_gate.c:90
void detect_gate_init(void)
Definition: detect_gate.c:305
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition: vl53l1_types.h:98