Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
m
n
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
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
};
31
struct
opticflow_pmw3901_t
{
…
};
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:168
of_pmw
struct opticflow_pmw3901_t of_pmw
Definition
opticflow_pmw3901.c:61
opticflow_pmw3901_t::agl_timeout
uint32_t agl_timeout
Definition
opticflow_pmw3901.h:36
opticflow_pmw3901_t::std_px
float std_px
Definition
opticflow_pmw3901.h:35
opticflow_pmw3901_periodic
void opticflow_pmw3901_periodic(void)
Definition
opticflow_pmw3901.c:180
opticflow_pmw3901_t::subpixel_factor
int16_t subpixel_factor
Definition
opticflow_pmw3901.h:34
opticflow_pmw3901_t::pmw
struct pmw3901_t pmw
Definition
opticflow_pmw3901.h:32
opticflow_pmw3901_t::sensor_angle
float sensor_angle
Definition
opticflow_pmw3901.h:33
opticflow_pmw3901_event
void opticflow_pmw3901_event(void)
Definition
opticflow_pmw3901.c:186
opticflow_pmw3901_t
Definition
opticflow_pmw3901.h:31
pmw3901.h
pmw3901_t
Definition
pmw3901.h:60
uint32_t
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
Definition
vl53l1_types.h:78
int16_t
short int16_t
Typedef defining 16 bit short type.
Definition
vl53l1_types.h:93
sw
airborne
modules
sensors
opticflow_pmw3901.h
Generated on Fri Apr 4 2025 14:56:51 for Paparazzi UAS by
1.9.8