Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
cv_detect_color_object.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 Kirk Scheper <kirkscheper@gmail.com>
3  *
4  * This file is part of Paparazzi.
5  *
6  * Paparazzi is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * Paparazzi is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with Paparazzi; see the file COPYING. If not, write to
18  * the Free Software Foundation, 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21 
28 #ifndef COLOR_OBJECT_DETECTOR_CV_H
29 #define COLOR_OBJECT_DETECTOR_CV_H
30 
31 #include <stdint.h>
32 #include <stdbool.h>
33 
34 // Module settings
35 extern uint8_t cod_lum_min1;
36 extern uint8_t cod_lum_max1;
37 extern uint8_t cod_cb_min1;
38 extern uint8_t cod_cb_max1;
39 extern uint8_t cod_cr_min1;
40 extern uint8_t cod_cr_max1;
41 
42 extern uint8_t cod_lum_min2;
43 extern uint8_t cod_lum_max2;
44 extern uint8_t cod_cb_min2;
45 extern uint8_t cod_cb_max2;
46 extern uint8_t cod_cr_min2;
47 extern uint8_t cod_cr_max2;
48 
49 extern bool cod_draw1;
50 extern bool cod_draw2;
51 
52 // Module functions
53 extern void color_object_detector_init(void);
54 extern void color_object_detector_periodic(void);
55 
56 #endif /* COLOR_OBJECT_DETECTOR_CV_H */
cod_draw1
bool cod_draw1
Definition: cv_detect_color_object.c:70
cod_lum_min1
uint8_t cod_lum_min1
Definition: cv_detect_color_object.c:56
cod_draw2
bool cod_draw2
Definition: cv_detect_color_object.c:71
cod_cb_min2
uint8_t cod_cb_min2
Definition: cv_detect_color_object.c:65
color_object_detector_init
void color_object_detector_init(void)
Definition: cv_detect_color_object.c:154
cod_cr_min2
uint8_t cod_cr_min2
Definition: cv_detect_color_object.c:67
cod_cb_max1
uint8_t cod_cb_max1
Definition: cv_detect_color_object.c:59
cod_cr_max2
uint8_t cod_cr_max2
Definition: cv_detect_color_object.c:68
uint8_t
unsigned char uint8_t
Definition: types.h:14
color_object_detector_periodic
void color_object_detector_periodic(void)
Definition: cv_detect_color_object.c:259
cod_lum_max1
uint8_t cod_lum_max1
Definition: cv_detect_color_object.c:57
cod_cr_min1
uint8_t cod_cr_min1
Definition: cv_detect_color_object.c:60
cod_lum_max2
uint8_t cod_lum_max2
Definition: cv_detect_color_object.c:64
cod_cb_min1
uint8_t cod_cb_min1
Definition: cv_detect_color_object.c:58
cod_lum_min2
uint8_t cod_lum_min2
Definition: cv_detect_color_object.c:63
cod_cr_max1
uint8_t cod_cr_max1
Definition: cv_detect_color_object.c:61
cod_cb_max2
uint8_t cod_cb_max2
Definition: cv_detect_color_object.c:66