Paparazzi UAS  v5.15_devel-47-g0391b4d
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
airspeed_sdp3x.h File Reference

Airspeed driver for the SDP3X pressure sensor via I2C. More...

#include "std.h"
+ Include dependency graph for airspeed_sdp3x.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  AirspeedSdp3x


void sdp3x_init (void)
void sdp3x_periodic (void)
void sdp3x_event (void)


struct AirspeedSdp3x sdp3x

Detailed Description

Airspeed driver for the SDP3X pressure sensor via I2C.

Definition in file airspeed_sdp3x.h.

Data Structure Documentation

struct AirspeedSdp3x

Definition at line 30 of file airspeed_sdp3x.h.

Data Fields
float airspeed Airspeed in m/s estimated from (differential) pressure.
float airspeed_scale Quadratic scale factor to convert (differential) pressure to airspeed.
bool initialized init flag
float pressure (differential) pressure in Pascal
float pressure_offset Offset in Pascal.
float pressure_scale Scaling factor from raw measurement to Pascal.
bool sync_send Flag to enable sending every new measurement via telemetry for debugging purpose.
float temperature Temperature in deg Celcius.

Function Documentation

void sdp3x_periodic ( void  )

Variable Documentation

struct AirspeedSdp3x sdp3x

Definition at line 94 of file airspeed_sdp3x.c.

Referenced by sdp3x_downlink(), sdp3x_event(), sdp3x_init(), and sdp3x_periodic().