GNSS-SDR  0.0.13
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  * 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 #ifndef GNSS_SDR_GALILEO_ALMANAC_HELPER_H
21 #define GNSS_SDR_GALILEO_ALMANAC_HELPER_H
22 
23 #include "galileo_almanac.h"
24 #include <cstdint>
25 
26 /*!
27  * \brief This class is a storage for the GALILEO ALMANAC data as described in GALILEO ICD
28  *
29  * See https://www.gsc-europa.eu/sites/default/files/sites/all/files/Galileo-OS-SIS-ICD.pdf paragraph 5.1.10
30  */
32 {
33 public:
34  Galileo_Almanac_Helper() = default; //!< Default constructor
35 
36  Galileo_Almanac get_almanac(int i);
37 
38  // Word type 7: Almanac for SVID1 (1/2), almanac reference time and almanac reference week number
39  int32_t IOD_a_7{};
40  int32_t WN_a_7{};
41  int32_t t0a_7{};
42  int32_t SVID1_7{};
43  double DELTA_A_7{};
44  double e_7{};
45  double omega_7{};
46  double delta_i_7{};
47  double Omega0_7{};
48  double Omega_dot_7{};
49  double M0_7{};
50 
51  // Word type 8: Almanac for SVID1 (2/2) and SVID2 (1/2)
52  int32_t IOD_a_8{};
53  double af0_8{};
54  double af1_8{};
55  int32_t E5b_HS_8{};
56  int32_t E1B_HS_8{};
57  int32_t E5a_HS_8{};
58  int32_t SVID2_8{};
59  double DELTA_A_8{};
60  double e_8{};
61  double omega_8{};
62  double delta_i_8{};
63  double Omega0_8{};
64  double Omega_dot_8{};
65 
66  // Word type 9: Almanac for SVID2 (2/2) and SVID3 (1/2)
67  int32_t IOD_a_9{};
68  int32_t WN_a_9{};
69  int32_t t0a_9{};
70  double M0_9{};
71  double af0_9{};
72  double af1_9{};
73  int32_t E5b_HS_9{};
74  int32_t E1B_HS_9{};
75  int32_t E5a_HS_9{};
76  int32_t SVID3_9{};
77  double DELTA_A_9{};
78  double e_9{};
79  double omega_9{};
80  double delta_i_9{};
81 
82  // Word type 10: Almanac for SVID3 (2/2)
83  int32_t IOD_a_10{};
84  double Omega0_10{};
85  double Omega_dot_10{};
86  double M0_10{};
87  double af0_10{};
88  double af1_10{};
89  int32_t E5b_HS_10{};
90  int32_t E1B_HS_10{};
91  int32_t E5a_HS_10{};
92 };
93 
94 #endif
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.