GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
galileo_almanac.h
Go to the documentation of this file.
1 /*!
2  * \file galileo_almanac.h
3  * \brief Interface of a Galileo ALMANAC storage
4  * \author Carles Fernandez, 2018. cfernandez(at)cttc.cat
5  *
6  * -----------------------------------------------------------------------------
7  *
8  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
9  *
10  * GNSS-SDR is a software defined Global Navigation
11  * Satellite Systems receiver
12  *
13  * This file is part of GNSS-SDR.
14  *
15  * SPDX-License-Identifier: GPL-3.0-or-later
16  *
17  * -----------------------------------------------------------------------------
18  */
19 
20 
21 #ifndef GNSS_SDR_GALILEO_ALMANAC_H
22 #define GNSS_SDR_GALILEO_ALMANAC_H
23 
24 #include <boost/serialization/nvp.hpp>
25 #include <cstdint>
26 
27 /*!
28  * \brief This class is a storage for the Galileo SV ALMANAC data
29  */
31 {
32 public:
33  /*!
34  * Default constructor
35  */
36  Galileo_Almanac() = default;
37 
38  uint32_t i_satellite_PRN{}; //!< SV PRN NUMBER
39  int32_t i_Toa{};
40  int32_t i_WNa{};
41  int32_t i_IODa{};
42  double d_Delta_i{}; //!< Inclination at reference time relative to i0 = 56º [semi-circles]
43  double d_M_0{}; //!< Mean Anomaly at Reference Time [semi-circles]
44  double d_e_eccentricity{}; //!< Eccentricity [dimensionless]
45  double d_Delta_sqrt_A{}; //!< Square Root of the Semi-Major Axis [sqrt(m)]
46  double d_OMEGA0{}; //!< Longitude of Ascending Node of Orbit Plane at Weekly Epoch [semi-circles]
47  double d_OMEGA{}; //!< Argument of Perigee [semi-cicles]
48  double d_OMEGA_DOT{}; //!< Rate of Right Ascension [semi-circles/s]
49  double d_A_f0{}; //!< Coefficient 0 of code phase offset model [s]
50  double d_A_f1{}; //!< Coefficient 1 of code phase offset model [s/s]
51  int32_t E5b_HS{};
52  int32_t E1B_HS{};
53  int32_t E5a_HS{};
54 
55  template <class Archive>
56 
57  void serialize(Archive& ar, const unsigned int version)
58  {
59  if (version)
60  {
61  };
62  ar& BOOST_SERIALIZATION_NVP(i_satellite_PRN);
63  ar& BOOST_SERIALIZATION_NVP(i_Toa);
64  ar& BOOST_SERIALIZATION_NVP(i_WNa);
65  ar& BOOST_SERIALIZATION_NVP(i_IODa);
66  ar& BOOST_SERIALIZATION_NVP(d_Delta_i);
67  ar& BOOST_SERIALIZATION_NVP(d_M_0);
68  ar& BOOST_SERIALIZATION_NVP(d_e_eccentricity);
69  ar& BOOST_SERIALIZATION_NVP(d_Delta_sqrt_A);
70  ar& BOOST_SERIALIZATION_NVP(d_OMEGA0);
71  ar& BOOST_SERIALIZATION_NVP(d_OMEGA);
72  ar& BOOST_SERIALIZATION_NVP(d_OMEGA_DOT);
73  ar& BOOST_SERIALIZATION_NVP(d_A_f0);
74  ar& BOOST_SERIALIZATION_NVP(d_A_f1);
75  ar& BOOST_SERIALIZATION_NVP(E5b_HS);
76  ar& BOOST_SERIALIZATION_NVP(E1B_HS);
77  ar& BOOST_SERIALIZATION_NVP(E5a_HS);
78  }
79 };
80 
81 #endif
uint32_t i_satellite_PRN
SV PRN NUMBER.
double d_Delta_i
Inclination at reference time relative to i0 = 56º [semi-circles].
This class is a storage for the Galileo SV ALMANAC data.
Galileo_Almanac()=default
double d_OMEGA0
Longitude of Ascending Node of Orbit Plane at Weekly Epoch [semi-circles].
double d_Delta_sqrt_A
Square Root of the Semi-Major Axis [sqrt(m)].
double d_A_f1
Coefficient 1 of code phase offset model [s/s].
double d_OMEGA
Argument of Perigee [semi-cicles].
double d_OMEGA_DOT
Rate of Right Ascension [semi-circles/s].
double d_A_f0
Coefficient 0 of code phase offset model [s].
double d_e_eccentricity
Eccentricity [dimensionless].
double d_M_0
Mean Anomaly at Reference Time [semi-circles].