Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
opticflow_module.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Hann Woei Ho
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  */
20 
27 #ifndef OPTICFLOW_MODULE_H
28 #define OPTICFLOW_MODULE_H
29 
30 // Include opticflow calculator
32 
33 // Needed for settings
34 extern struct opticflow_t opticflow;
35 
36 // Module functions
37 extern void opticflow_module_init(void);
38 extern void opticflow_module_run(void);
39 extern void opticflow_module_start(void);
40 extern void opticflow_module_stop(void);
41 
42 #endif /* OPTICFLOW_MODULE_H */
struct opticflow_t opticflow
Opticflow calculations.
void opticflow_module_stop(void)
Calculate velocity from optic flow.
void opticflow_module_run(void)
Update the optical flow state for the calculation thread and update the stabilization loops with the ...
void opticflow_module_init(void)
Initialize the optical flow module for the bottom camera.
void opticflow_module_start(void)