Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
baro_bmp.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2010 Martin Mueller
3 * Copyright (C) 2013 Felix Ruess <felix.ruess@gmail.com>
4 *
5 * This file is part of paparazzi.
6 *
7 * paparazzi is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
10 * any later version.
11 *
12 * paparazzi is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with paparazzi; see the file COPYING. If not, write to
19 * the Free Software Foundation, 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
21 *
22 */
23
31#ifndef BARO_BMP_H
32#define BARO_BMP_H
33
34#include "peripherals/bmp085.h"
35
36extern struct Bmp085 baro_bmp;
37
39#define BARO_BMP_DT (BARO_BMP_PERIODIC_PERIOD / 3)
40
41extern bool baro_bmp_enabled;
42extern float baro_bmp_r;
43extern float baro_bmp_sigma2;
45
46void baro_bmp_init(void);
47void baro_bmp_periodic(void);
48void baro_bmp_event(void);
49
50#endif
bool baro_bmp_enabled
Definition baro_bmp.c:54
struct Bmp085 baro_bmp
Definition baro_bmp.c:52
void baro_bmp_periodic(void)
Definition baro_bmp.c:70
float baro_bmp_r
Definition baro_bmp.c:55
void baro_bmp_event(void)
Definition baro_bmp.c:81
int32_t baro_bmp_alt
Definition baro_bmp.c:57
void baro_bmp_init(void)
Definition baro_bmp.c:59
float baro_bmp_sigma2
Definition baro_bmp.c:56
Bosch BMP085 driver interface.
int int32_t
Typedef defining 32 bit int type.