Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
baro_board.c File Reference

Paparazzi AR Drone 2 Baro Sensor implementation:. More...

#include "subsystems/sensors/baro.h"
#include "subsystems/abi.h"
#include "baro_board.h"
#include "navdata.h"
+ 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. More...
 

Functions

void baro_init (void)
 
void baro_periodic (void)
 
static int32_t baro_apply_calibration (int32_t raw)
 
static int32_t baro_apply_calibration_temp (int32_t tmp_raw)
 
void ardrone_baro_event (void)
 

Detailed Description

Paparazzi AR Drone 2 Baro Sensor implementation:.

Based on BMP180 implementation by C. de Wagter.

Definition in file baro_board.c.

Macro Definition Documentation

#define BMP180_OSS   0

Use an extra median filter to filter baro data.

Definition at line 42 of file baro_board.c.

Referenced by baro_apply_calibration().

Function Documentation

void ardrone_baro_event ( void  )
static int32_t baro_apply_calibration ( int32_t  raw)
inlinestatic
static int32_t baro_apply_calibration_temp ( int32_t  tmp_raw)
inlinestatic
void baro_init ( void  )

Definition at line 44 of file baro_board.c.

References init_median_filter().

+ Here is the call graph for this function:

void baro_periodic ( void  )

Definition at line 50 of file baro_board.c.