2011-11-05 22:11:25 -03:00
|
|
|
|
|
|
|
#ifndef __AP_BARO_H__
|
|
|
|
#define __AP_BARO_H__
|
|
|
|
|
|
|
|
class AP_Baro
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
AP_Baro() {}
|
|
|
|
virtual void init() = 0;
|
|
|
|
virtual uint8_t update() = 0;
|
|
|
|
virtual int32_t get_pressure() = 0;
|
|
|
|
virtual float get_temp() = 0;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#include "AP_Baro_MS5611.h"
|
2011-11-27 01:34:51 -04:00
|
|
|
#include "AP_Baro_BMP085.h"
|
|
|
|
#include "AP_Baro_BMP085_hil.h"
|
2011-11-05 22:11:25 -03:00
|
|
|
|
|
|
|
#endif // __AP_BARO_H__
|