|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
40 #include "pprzlink/messages.h"
45 #define BMP_I2C_DEV i2c0
48 #define BARO_BMP_R 0.5
49 #define BARO_BMP_SIGMA2 0.1
89 tmp = pow(tmp, 0.190295);
98 #ifdef SENSOR_SYNC_SEND
void baro_bmp_periodic(void)
#define BARO_BOARD_SENDER_ID
default onboard baro
void bmp085_periodic(struct Bmp085 *bmp)
Start new measurement if idle or read temp/pressure.
int32_t temperature
temperature in 0.1 deg Celcius
void baro_bmp_event(void)
void bmp085_init(struct Bmp085 *bmp, struct i2c_periph *i2c_p, uint8_t addr)
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
#define BARO_BMP_SENDER_ID
int32_t ut
uncompensated temperature
bool initialized
config done flag
Architecture independent timing functions.
arch independent LED (Light Emitting Diodes) API
void bmp085_read_eeprom_calib(struct Bmp085 *bmp)
Common code for AP and FBW telemetry.
int32_t up
uncompensated pressure
int32_t pressure
pressure in Pascal
volatile bool data_available
data ready flag
#define BMP085_SLAVE_ADDR
void bmp085_event(struct Bmp085 *bmp)