Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
air_density_observer.h File Reference

air-density measurement (interface) More...

#include "Linear_Least_Square_Fit.h"
#include "trigger.h"

Go to the source code of this file.

Classes

class  air_data_result
 Maintains offset and slope of the air density measurement. More...
 
class  air_density_observer
 Measures air density and reference pressure. More...
 

Macros

#define DENSITY_MEASURMENT_COLLECTS_INTEGER   1
 
#define MAX_ALLOWED_VARIANCE   1e-9
 
#define MINIMUM_ALTITUDE_RANGE   300.0f
 
#define ALTITUDE_TRIGGER_HYSTERESIS   50.0f
 

Typedefs

typedef double evaluation_type
 
typedef uint64_t measurement_type
 

Detailed Description

air-density measurement (interface)

Author
Dr. Klaus Schaefer

<Larus Flight Sensor Firmware>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file air_density_observer.h.

Macro Definition Documentation

◆ ALTITUDE_TRIGGER_HYSTERESIS

#define ALTITUDE_TRIGGER_HYSTERESIS   50.0f

Definition at line 37 of file air_density_observer.h.

◆ DENSITY_MEASURMENT_COLLECTS_INTEGER

#define DENSITY_MEASURMENT_COLLECTS_INTEGER   1

Definition at line 31 of file air_density_observer.h.

◆ MAX_ALLOWED_VARIANCE

#define MAX_ALLOWED_VARIANCE   1e-9

Definition at line 35 of file air_density_observer.h.

◆ MINIMUM_ALTITUDE_RANGE

#define MINIMUM_ALTITUDE_RANGE   300.0f

Definition at line 36 of file air_density_observer.h.

Typedef Documentation

◆ evaluation_type

◆ measurement_type