Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
detect_gate.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2018, Guido de Croon
3
*
4
* @file modules/computer_vision/undistort_image.h
5
*/
6
7
#ifndef DETECT_GATE_MODULE_H
8
#define DETECT_GATE_MODULE_H
9
10
#include <stdint.h>
11
#include "
modules/computer_vision/cv.h
"
12
13
// Module functions
14
extern
void
detect_gate_init
(
void
);
15
extern
void
detect_gate_event
(
void
);
16
17
// settings:
18
extern
int
just_filtering
;
19
extern
int
n_samples
;
20
extern
int
min_px_size
;
21
extern
float
min_gate_quality
;
22
extern
int
min_n_sides
;
23
extern
float
gate_thickness
;
24
extern
uint8_t
color_Ym
;
25
extern
uint8_t
color_YM
;
26
extern
uint8_t
color_Um
;
27
extern
uint8_t
color_UM
;
28
extern
uint8_t
color_Vm
;
29
extern
uint8_t
color_VM
;
30
extern
int
exclude_top
;
31
extern
int
exclude_bottom
;
32
33
// External variables that have the results:
34
extern
struct
FloatVect3
drone_position
;
35
extern
struct
gate_img
best_gate
;
36
37
38
#endif
/* DETECT_GATE_MODULE_H */
cv.h
Computer vision framework for onboard processing.
n_samples
int n_samples
Definition:
detect_gate.c:85
color_Um
uint8_t color_Um
Definition:
detect_gate.c:92
detect_gate_event
void detect_gate_event(void)
Definition:
detect_gate.c:264
gate_thickness
float gate_thickness
Definition:
detect_gate.c:89
color_Vm
uint8_t color_Vm
Definition:
detect_gate.c:94
color_VM
uint8_t color_VM
Definition:
detect_gate.c:95
min_px_size
int min_px_size
Definition:
detect_gate.c:87
color_YM
uint8_t color_YM
Definition:
detect_gate.c:91
best_gate
struct gate_img best_gate
Definition:
detect_gate.c:101
just_filtering
int just_filtering
Definition:
detect_gate.c:84
drone_position
struct FloatVect3 drone_position
Definition:
detect_gate.c:100
exclude_top
int exclude_top
Definition:
detect_gate.c:96
exclude_bottom
int exclude_bottom
Definition:
detect_gate.c:97
min_gate_quality
float min_gate_quality
Definition:
detect_gate.c:88
color_UM
uint8_t color_UM
Definition:
detect_gate.c:93
min_n_sides
int min_n_sides
Definition:
detect_gate.c:86
color_Ym
uint8_t color_Ym
Definition:
detect_gate.c:90
detect_gate_init
void detect_gate_init(void)
Definition:
detect_gate.c:305
FloatVect3
Definition:
pprz_algebra_float.h:54
gate_img
Definition:
snake_gate_detection.h:50
uint8_t
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition:
vl53l1_types.h:98
sw
airborne
modules
computer_vision
detect_gate.h
Generated on Fri Nov 8 2024 14:10:45 for Paparazzi UAS by
1.9.1