Paparazzi UAS
v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
airspeed_sdp3x.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019 Gautier Hattenberger <gautier.hattenberger@enac.fr>
3
*
4
* This file is part of paparazzi
5
*
6
* paparazzi is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2, or (at your option)
9
* any later version.
10
*
11
* paparazzi is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with paparazzi; see the file COPYING. If not, see
18
* <http://www.gnu.org/licenses/>.
19
*/
20
24
25
#ifndef AIRSPEED_SDP3X_H
26
#define AIRSPEED_SDP3X_H
27
28
#include "std.h"
29
30
struct
AirspeedSdp3x
{
31
float
pressure
;
32
float
temperature
;
33
float
pressure_scale
;
34
bool
initialized
;
35
};
36
37
extern
struct
AirspeedSdp3x
sdp3x
;
38
39
extern
void
sdp3x_init
(
void
);
40
extern
void
sdp3x_periodic
(
void
);
41
extern
void
sdp3x_event
(
void
);
42
43
#endif
sdp3x
struct AirspeedSdp3x sdp3x
Definition
airspeed_sdp3x.c:64
AirspeedSdp3x::pressure
float pressure
(differential) pressure in Pascal
Definition
airspeed_sdp3x.h:31
AirspeedSdp3x::initialized
bool initialized
init flag
Definition
airspeed_sdp3x.h:34
AirspeedSdp3x::temperature
float temperature
Temperature in deg Celcius.
Definition
airspeed_sdp3x.h:32
sdp3x_init
void sdp3x_init(void)
Definition
airspeed_sdp3x.c:89
sdp3x_periodic
void sdp3x_periodic(void)
Definition
airspeed_sdp3x.c:99
AirspeedSdp3x::pressure_scale
float pressure_scale
Scaling factor from raw measurement to Pascal.
Definition
airspeed_sdp3x.h:33
sdp3x_event
void sdp3x_event(void)
Definition
airspeed_sdp3x.c:118
AirspeedSdp3x
Definition
airspeed_sdp3x.h:30
sw
airborne
modules
sensors
airspeed_sdp3x.h
Generated on
for Paparazzi UAS by
1.15.0