Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 */
uint8_t cod_lum_max2
uint8_t cod_lum_min2
uint8_t cod_lum_min1
uint8_t cod_cb_min1
bool cod_draw2
void color_object_detector_init(void)
uint8_t cod_lum_max1
uint8_t cod_cr_min2
uint8_t cod_cb_min2
uint8_t cod_cr_max2
uint8_t cod_cb_max1
void color_object_detector_periodic(void)
unsigned char uint8_t
Definition: types.h:14
uint8_t cod_cr_max1
uint8_t cod_cb_max2
uint8_t cod_cr_min1
bool cod_draw1