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