GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
galileo_almanac_helper.h
Go to the documentation of this file.
1 /*!
2  * \file galileo_almanac_helper.h
3  * \brief Interface of a Galileo ALMANAC storage helper
4  * \author Javier Arribas, 2013. jarribas(at)cttc.es
5  * \author Mara Branzanti 2013. mara.branzanti(at)gmail.com
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 #ifndef GNSS_SDR_GALILEO_ALMANAC_HELPER_H
18 #define GNSS_SDR_GALILEO_ALMANAC_HELPER_H
19 
20 #include "galileo_almanac.h"
21 #include <cstdint>
22 
23 /** \addtogroup Core
24  * \{ */
25 /** \addtogroup System_Parameters
26  * \{ */
27 
28 
29 /*!
30  * \brief This class is a storage for the GALILEO ALMANAC data as described in GALILEO ICD
31  *
32  * See https://www.gsc-europa.eu/sites/default/files/sites/all/files/Galileo_OS_SIS_ICD_v2.0.pdf paragraph 5.1.10
33  */
35 {
36 public:
37  Galileo_Almanac_Helper() = default; //!< Default constructor
38 
39  Galileo_Almanac get_almanac(int i) const;
40 
41  // Word type 7: Almanac for SVID1 (1/2), almanac reference time and almanac reference week number
42  int32_t IOD_a_7{};
43  int32_t WN_a_7{};
44  int32_t t0a_7{};
45  int32_t SVID1_7{};
46  double DELTA_A_7{};
47  double e_7{};
48  double omega_7{};
49  double delta_i_7{};
50  double Omega0_7{};
51  double Omega_dot_7{};
52  double M0_7{};
53 
54  // Word type 8: Almanac for SVID1 (2/2) and SVID2 (1/2)
55  int32_t IOD_a_8{};
56  double af0_8{};
57  double af1_8{};
58  int32_t E5b_HS_8{};
59  int32_t E1B_HS_8{};
60  int32_t E5a_HS_8{};
61  int32_t SVID2_8{};
62  double DELTA_A_8{};
63  double e_8{};
64  double omega_8{};
65  double delta_i_8{};
66  double Omega0_8{};
67  double Omega_dot_8{};
68 
69  // Word type 9: Almanac for SVID2 (2/2) and SVID3 (1/2)
70  int32_t IOD_a_9{};
71  int32_t WN_a_9{};
72  int32_t t0a_9{};
73  double M0_9{};
74  double af0_9{};
75  double af1_9{};
76  int32_t E5b_HS_9{};
77  int32_t E1B_HS_9{};
78  int32_t E5a_HS_9{};
79  int32_t SVID3_9{};
80  double DELTA_A_9{};
81  double e_9{};
82  double omega_9{};
83  double delta_i_9{};
84 
85  // Word type 10: Almanac for SVID3 (2/2)
86  int32_t IOD_a_10{};
87  double Omega0_10{};
88  double Omega_dot_10{};
89  double M0_10{};
90  double af0_10{};
91  double af1_10{};
92  int32_t E5b_HS_10{};
93  int32_t E1B_HS_10{};
94  int32_t E5a_HS_10{};
95 };
96 
97 
98 /** \} */
99 /** \} */
100 #endif // GNSS_SDR_GALILEO_ALMANAC_HELPER_H
This class is a storage for the Galileo SV ALMANAC data.
Interface of a Galileo ALMANAC storage.
This class is a storage for the GALILEO ALMANAC data as described in GALILEO ICD. ...
Galileo_Almanac_Helper()=default
Default constructor.