Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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: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 Nov 8 2024 14:10:47 for Paparazzi UAS by
1.9.1