Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
opticflow_pmw3901.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) Tom van Dijk
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 OPTICFLOW_PMW3901_H
27
#define OPTICFLOW_PMW3901_H
28
29
#include "
peripherals/pmw3901.h
"
30
31
struct
opticflow_pmw3901_t
{
32
struct
pmw3901_t
pmw
;
33
float
sensor_angle
;
// [deg!]
34
int16_t
subpixel_factor
;
35
float
std_px
;
36
uint32_t
agl_timeout
;
37
};
38
extern
struct
opticflow_pmw3901_t
of_pmw
;
39
40
extern
void
opticflow_pmw3901_init
(
void
);
41
extern
void
opticflow_pmw3901_periodic
(
void
);
42
extern
void
opticflow_pmw3901_event
(
void
);
43
44
#endif
45
opticflow_pmw3901_init
void opticflow_pmw3901_init(void)
Definition:
opticflow_pmw3901.c:166
opticflow_pmw3901_t::sensor_angle
float sensor_angle
Definition:
opticflow_pmw3901.h:33
pmw3901.h
opticflow_pmw3901_t::std_px
float std_px
Definition:
opticflow_pmw3901.h:35
opticflow_pmw3901_t
Definition:
opticflow_pmw3901.h:31
of_pmw
struct opticflow_pmw3901_t of_pmw
Definition:
opticflow_pmw3901.c:61
opticflow_pmw3901_event
void opticflow_pmw3901_event(void)
Definition:
opticflow_pmw3901.c:184
uint32_t
unsigned long uint32_t
Definition:
types.h:18
int16_t
signed short int16_t
Definition:
types.h:17
pmw3901_t
Definition:
pmw3901.h:60
opticflow_pmw3901_t::subpixel_factor
int16_t subpixel_factor
Definition:
opticflow_pmw3901.h:34
opticflow_pmw3901_periodic
void opticflow_pmw3901_periodic(void)
Definition:
opticflow_pmw3901.c:178
opticflow_pmw3901_t::agl_timeout
uint32_t agl_timeout
Definition:
opticflow_pmw3901.h:36
opticflow_pmw3901_t::pmw
struct pmw3901_t pmw
Definition:
opticflow_pmw3901.h:32
sw
airborne
modules
sensors
opticflow_pmw3901.h
Generated on Wed Feb 10 2021 04:34:15 for Paparazzi UAS by
1.8.8