Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
data_structures.h
Go to the documentation of this file.
1/***********************************************************************/
25#ifndef DATA_STRUCTURES_H_
26#define DATA_STRUCTURES_H_
27
29#include "AHRS.h"
30#include "GNSS.h"
31
32#pragma pack(push, 1)
33
35typedef struct
36{
37 float3vector acc; //XSENSE MTi1 IMU
38 float3vector gyro; //XSENSE MTi1 IMU
39 float3vector mag; //XSENSE MTi1 IMU
40#if WITH_LOWCOST_SENSORS
44#endif
47#if WITH_LOWCOST_SENSORS
48 float absolute_pressure; //this is the second ms5611 on the PCB.
49#endif
50 float static_sensor_temperature; //log temperature to monitor temperature in enclosure
51#if WITH_LOWCOST_SENSORS
53#endif
54 float supply_voltage; //Measuring the supply voltage. Might be related to sensor noise.
55#if WITH_DENSITY_DATA
58#endif
60
62typedef struct
63{
65#if WITH_DENSITY_DUMMY
66 float dummy1;
67 float dummy2;
68#endif
70#if RUN_MICROPHONE
71 float sound_intensity;
72#endif
74
76typedef struct
77{
80#if RUN_MICROPHONE
81 float sound_intensity;
82#endif
83 float IAS;
84 float TAS;
86 float vario;
97 float turn_rate;
100 float G_load;
106
107#if DEVELOPMENT_ADDITIONS
108 float3vector nav_correction;
109 float3vector gyro_correction;
110
115
119 float QFF;
120 float satfix;
121 float inst_wind_N;
122 float inst_wind_E;
123 float headwind;
124 float crosswind;
127 float speed_compensation[3];
128 float cross_acc_correction;
129 float vario_wind_N;
130 float vario_wind_E;
131 float3vector body_induction;
132 float3vector body_induction_error;
133 float gyro_correction_power;
134#endif
135
137
138#pragma pack(pop)
139
140#endif /* DATA_STRUCTURES_H_ */
attitude and heading reference system (interface)
uBlox GNSS + D-GNSS interface
Contains all important data from the GNSS.
Definition GNSS.h:104
contains all input data from the sensors
this structure contains all the observations from all sensors and the GNSS-receiver
measurement_data_t m
combination of all input and output data in one structure
measurement_data_t m
quaternion< float > q
float3vector wind_average
coordinates_t c
float3vector wind
uint32_t circle_mode
float effective_vertical_acceleration
float3vector nav_acceleration_gnss
float speed_compensation_TAS
eulerangle< float > euler
float vario_uncompensated
float speed_compensation_GNSS
float3vector nav_induction_gnss
collection of system tuning parameters