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_blob_locator.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) C. De Wagter
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, see
18  * <http://www.gnu.org/licenses/>.
19  */
26 #ifndef CV_BLOB_LOCATOR_H
27 #define CV_BLOB_LOCATOR_H
28 
29 #include <stdint.h>
30 
31 extern uint8_t color_lum_min;
32 extern uint8_t color_lum_max;
33 
34 extern uint8_t color_cb_min;
35 extern uint8_t color_cb_max;
36 
37 extern uint8_t color_cr_min;
38 extern uint8_t color_cr_max;
39 
42 
43 extern int marker_size;
44 extern int geofilter_length;
45 extern int record_video;
46 
47 extern void cv_blob_locator_init(void);
48 extern void cv_blob_locator_periodic(void);
49 extern void cv_blob_locator_event(void);
50 extern void cv_blob_locator_start(void);
51 extern void cv_blob_locator_stop(void);
52 
53 #define cv_blob_locator_GeoReset(_v) { \
54  cv_blob_locator_start(); \
55  }
56 
57 #define StartVision(X) { start_vision(); false; }
58 #define StartVisionLand(X) { start_vision_land(); false; }
59 #define StopVision(X) { stop_vision(); false; }
60 
61 
62 extern void start_vision(void);
63 extern void start_vision_land(void);
64 extern void stop_vision(void);
65 
66 
67 #endif
68 
uint8_t color_cb_min
Definition: colorfilter.c:48
void stop_vision(void)
uint8_t color_lum_max
Definition: colorfilter.c:47
uint8_t cv_blob_locator_type
void cv_blob_locator_periodic(void)
uint8_t color_cb_max
Definition: colorfilter.c:49
void cv_blob_locator_stop(void)
void start_vision_land(void)
uint8_t cv_blob_locator_reset
void start_vision(void)
uint8_t color_lum_min
Definition: colorfilter.c:46
void cv_blob_locator_start(void)
int record_video
void cv_blob_locator_event(void)
int marker_size
unsigned char uint8_t
Definition: types.h:14
int geofilter_length
uint8_t color_cr_max
Definition: colorfilter.c:51
uint8_t color_cr_min
Definition: colorfilter.c:50
void cv_blob_locator_init(void)