Paparazzi UAS v7.0_unstable
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
37extern uint8_t cod_cb_min1;
38extern uint8_t cod_cb_max1;
39extern uint8_t cod_cr_min1;
40extern uint8_t cod_cr_max1;
41
44extern uint8_t cod_cb_min2;
45extern uint8_t cod_cb_max2;
46extern uint8_t cod_cr_min2;
47extern uint8_t cod_cr_max2;
48
49extern bool cod_draw1;
50extern bool cod_draw2;
51
52// Module functions
53extern void color_object_detector_init(void);
54extern void color_object_detector_periodic(void);
55
56#endif /* COLOR_OBJECT_DETECTOR_CV_H */
uint8_t cod_cb_min1
bool cod_draw2
bool cod_draw1
uint8_t cod_cb_min2
uint8_t cod_lum_max1
uint8_t cod_lum_min1
uint8_t cod_lum_min2
uint8_t cod_cr_min1
uint8_t cod_cr_min2
uint8_t cod_cb_max1
uint8_t cod_cr_max1
void color_object_detector_periodic(void)
void color_object_detector_init(void)
uint8_t cod_cr_max2
uint8_t cod_cb_max2
uint8_t cod_lum_max2
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.