Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
earth_induction_model.h
Go to the documentation of this file.
1/***********************************************************************/
25#ifndef NAV_ALGORITHMS_EARTH_INDUCTION_MODEL_H_
26#define NAV_ALGORITHMS_EARTH_INDUCTION_MODEL_H_
27
28#include "embedded_memory.h"
29#include "embedded_math.h"
30
31enum { N_AREAS=8, N_COEFFICIENTS=10};
32
34typedef struct
35{
38 bool valid;
40
42typedef struct
43{
48 double coefficients_declination[N_COEFFICIENTS];
49 double coefficients_inclination[N_COEFFICIENTS];
51
54{
55private:
56 static const induction_model_area_t induction_model_area[N_AREAS];
57public:
60
61 induction_values get_induction_data_at( double longitude, double latitude);
62};
63
65
66#endif /* NAV_ALGORITHMS_EARTH_INDUCTION_MODEL_H_ */
Providing worldwide magnetic induction data.
induction_values get_induction_data_at(double longitude, double latitude)
@ N_COEFFICIENTS
earth_induction_model_t earth_induction_model
one singleton object of this type
defines platform-dependent algorithms and constants
settings to allow compiling embedded software on a PC target
struct containing magnetic induction data for a regional region
struct containing magnetic induction data for a point
float declination
positive to the east
float inclination
positive on the northern hemisphere