Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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 
color_cr_max
uint8_t color_cr_max
Definition: colorfilter.c:51
marker_size
int marker_size
Definition: cv_blob_locator.c:51
color_cb_max
uint8_t color_cb_max
Definition: colorfilter.c:49
cv_blob_locator_start
void cv_blob_locator_start(void)
Definition: cv_blob_locator.c:316
start_vision_land
void start_vision_land(void)
Definition: cv_blob_locator.c:332
color_cr_min
uint8_t color_cr_min
Definition: colorfilter.c:50
color_cb_min
uint8_t color_cb_min
Definition: colorfilter.c:48
uint8_t
unsigned char uint8_t
Definition: types.h:14
cv_blob_locator_event
void cv_blob_locator_event(void)
Definition: cv_blob_locator.c:264
cv_blob_locator_periodic
void cv_blob_locator_periodic(void)
Definition: cv_blob_locator.c:257
geofilter_length
int geofilter_length
Definition: cv_blob_locator.c:50
start_vision
void start_vision(void)
Definition: cv_blob_locator.c:326
color_lum_min
uint8_t color_lum_min
Definition: colorfilter.c:46
stop_vision
void stop_vision(void)
Definition: cv_blob_locator.c:338
cv_blob_locator_reset
uint8_t cv_blob_locator_reset
Definition: cv_blob_locator.c:47
cv_blob_locator_type
uint8_t cv_blob_locator_type
Definition: cv_blob_locator.c:48
cv_blob_locator_stop
void cv_blob_locator_stop(void)
Definition: cv_blob_locator.c:321
record_video
int record_video
Definition: cv_blob_locator.c:52
cv_blob_locator_init
void cv_blob_locator_init(void)
Definition: cv_blob_locator.c:230
color_lum_max
uint8_t color_lum_max
Definition: colorfilter.c:47