|  | Paparazzi UAS v7.0_unstable
    Paparazzi is a free software Unmanned Aircraft System. | 
Paparazzi AR Drone 2 Baro Sensor implementation:. More...
#include "modules/sensors/baro.h"#include "modules/core/abi.h"#include "baro_board.h"#include "navdata.h" Include dependency graph for baro_board.c:
 Include dependency graph for baro_board.c:Go to the source code of this file.
| Macros | |
| #define | BMP180_OSS 0 | 
| Use an extra median filter to filter baro data. | |
| Functions | |
| void | baro_init (void) | 
| void | baro_periodic (void) | 
| static int32_t | baro_apply_calibration (int32_t raw) | 
| Apply temperature and sensor calibration to get pressure in Pa. | |
| static int32_t | baro_apply_calibration_temp (int32_t tmp_raw) | 
| Apply temperature calibration. | |
| void | ardrone_baro_event (void) | 
Paparazzi AR Drone 2 Baro Sensor implementation:.
Based on BMP180 implementation by C. de Wagter.
Definition in file baro_board.c.
| #define BMP180_OSS 0 | 
Use an extra median filter to filter baro data.
Definition at line 42 of file baro_board.c.
Definition at line 92 of file baro_board.c.
References baro_apply_calibration(), baro_apply_calibration_temp(), navdata_t::baro_available, BARO_BOARD_SENDER_ID, navdata_t::baro_calibrated, foo, get_sys_time_usec(), navdata_t::measure, navdata, navdata_measure_t::pressure, navdata_measure_t::temperature_pressure, and update_median_filter_i().
 Here is the call graph for this function:
 Here is the call graph for this function:Apply temperature and sensor calibration to get pressure in Pa.
| raw | uncompensated raw pressure reading | 
Definition at line 58 of file baro_board.c.
References bmp180_calib_t::ac1, bmp180_calib_t::ac2, bmp180_calib_t::ac3, bmp180_calib_t::ac4, bmp180_calib_t::b1, bmp180_calib_t::b2, bmp180_calib_t::b5, navdata_t::bmp180_calib, BMP180_OSS, foo, navdata, and p.
Referenced by ardrone_baro_event().
 Here is the caller graph for this function:
 Here is the caller graph for this function:Apply temperature calibration.
| tmp_raw | uncompensated raw temperature reading | 
Definition at line 84 of file baro_board.c.
References bmp180_calib_t::ac5, bmp180_calib_t::ac6, bmp180_calib_t::b5, navdata_t::bmp180_calib, foo, bmp180_calib_t::mc, bmp180_calib_t::md, and navdata.
Referenced by ardrone_baro_event().
 Here is the caller graph for this function:
 Here is the caller graph for this function:Definition at line 44 of file baro_board.c.
References foo, init_median_filter_i(), and MEDIAN_DEFAULT_SIZE.
 Here is the call graph for this function:
 Here is the call graph for this function:Definition at line 51 of file baro_board.c.