![]() |
GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
|
Defines system parameters for GLONASS L1 C/A signal and NAV data. More...
#include "gnss_frequencies.h"#include <cstdint>#include <map>#include <utility>#include <vector>Go to the source code of this file.
Macros | |
| #define | GLONASS_GNAV_PREAMBLE |
| #define | GLONASS_GNAV_PREAMBLE_SAMPLES |
Variables | |
| constexpr double | GLONASS_F_M_A = 0.35e9 |
| Gravitational constant of atmosphere [m^3/s^2]. | |
| constexpr double | GLONASS_SEMI_MAJOR_AXIS = 6378136 |
| Semi-major axis of Earth [m]. | |
| constexpr double | GLONASS_FLATTENING = 1.0 / 29825784.0 |
| Flattening parameter. | |
| constexpr double | GLONASS_GRAVITY = 97803284.0 |
| Equatorial acceleration of gravity [mGal]. | |
| constexpr double | GLONASS_GRAVITY_CORRECTION = 0.87 |
| Correction to acceleration of gravity at sea-level due to Atmosphere[uGal]. | |
| constexpr double | GLONASS_J2 = 1082625.75e-9 |
| Second zonal harmonic of the geopotential. | |
| constexpr double | GLONASS_J4 = -2370.89e-9 |
| Fourth zonal harmonic of the geopotential. | |
| constexpr double | GLONASS_J6 = 6.08e-9 |
| Sixth zonal harmonic of the geopotential. | |
| constexpr double | GLONASS_J8 = 1.40e-11 |
| Eighth zonal harmonic of the geopotential. | |
| constexpr double | GLONASS_U0 = 62636861.4 |
| Normal potential at surface of common terrestrial ellipsoid [m^2/s^2]. | |
| constexpr double | GLONASS_C20 = -1082.63e-6 |
| Second zonal coefficient of spherical harmonic expansion. | |
| constexpr double | GLONASS_EARTH_RADIUS = 6378.136 |
| Equatorial radius of Earth [km]. | |
| constexpr double | GLONASS_EARTH_INCLINATION = 0.000409148809899e3 |
| Mean inclination of ecliptic to equator (23 deg 26 min 33 sec) [rad]. | |
| constexpr double | GLONASS_TAU_0 = -0.005835151531174e3 |
| (-334 deg 19 min 46.40 sec) [rad]; | |
| constexpr double | GLONASS_TAU_1 = 0.071018041257371e3 |
| (4069 deg 02 min 02.52 sec) [rad]; | |
| constexpr double | GLONASS_MOON_Q0 = -0.001115184961435e3 |
| (-63 deg 53 min 43.41 sec) [rad] | |
| constexpr double | GLONASS_MOON_Q1 = 8.328691103668023e3 |
| (477198 deg 50 min 56.79 sec) [rad] | |
| constexpr double | GLONASS_MOON_OMEGA_0 = 0.004523601514852e3 |
| (259 deg 10 min 59.79 sec) [rad] | |
| constexpr double | GLONASS_MOON_OMEGA_1 = -0.033757146246552e3 |
| (-1934 deg 08 min 31.23 sec) [rad] | |
| constexpr double | GLONASS_MOON_GM = 4902.835 |
| Lunar gravitational constant [km^3/s^2]. | |
| constexpr double | GLONASS_MOON_SEMI_MAJOR_AXIS = 3.84385243e5 |
| Semi-major axis of lunar orbit [km];. | |
| constexpr double | GLONASS_MOON_ECCENTRICITY = 0.054900489 |
| Eccentricity of lunar orbit. | |
| constexpr double | GLONASS_MOON_INCLINATION = 0.000089803977407e3 |
| Inclination of lunar orbit to ecliptic plane (5 deg 08 min 43.4 sec) [rad]. | |
| constexpr double | GLONASS_SUN_OMEGA = 0.004908229466869e3 |
| TODO What is this operation in the seconds with T?(281 deg 13 min 15.0 + 6189.03 x T sec) [rad]. | |
| constexpr double | GLONASS_SUN_Q0 = 0.006256583774423e3 |
| (358 deg 28 min 33.04 sec) [rad] | |
| constexpr double | GLONASS_SUN_Q1 = 0e3 |
| TODO Why is the value greater than 60?(129596579.10 sec) [rad]. | |
| constexpr double | GLONASS_SUN_GM = 0.1325263e12 |
| Solar gravitational constant [km^3/s^2]. | |
| constexpr double | GLONASS_SUN_SEMI_MAJOR_AXIS = 1.49598e8 |
| Semi-major axis of solar orbit [km];. | |
| constexpr double | GLONASS_SUN_ECCENTRICITY = 0.016719 |
| Eccentricity of solar orbit. | |
| constexpr double | GLONASS_L2_CA_FREQ_HZ = FREQ2_GLO |
| L2 [Hz]. | |
| constexpr double | GLONASS_L2_CA_DFREQ_HZ = DFRQ2_GLO |
| Freq Bias for GLONASS L1 [Hz]. | |
| constexpr double | GLONASS_L2_CA_CODE_RATE_CPS = 0.511e6 |
| GLONASS L1 C/A code rate [chips/s]. | |
| constexpr double | GLONASS_L2_CA_CODE_LENGTH_CHIPS = 511.0 |
| GLONASS L1 C/A code length [chips]. | |
| constexpr double | GLONASS_L2_CA_CODE_PERIOD_S = 0.001 |
| GLONASS L1 C/A code period [seconds]. | |
| constexpr double | GLONASS_L2_CA_SYMBOL_PERIOD_S = 0.01 |
| GLONASS L1 C/A symbol period [seconds]. | |
| constexpr double | GLONASS_L2_CA_CHIP_PERIOD_S = 1.9569e-06 |
| GLONASS L1 C/A chip period [seconds]. | |
| constexpr double | GLONASS_L2_CA_SYMBOL_RATE_BPS = 1000.0 |
| constexpr double | GLONASS_L1_CA_FREQ_HZ = FREQ1_GLO |
| L1 [Hz]. | |
| constexpr double | GLONASS_L1_CA_DFREQ_HZ = DFRQ1_GLO |
| Freq Bias for GLONASS L1 [Hz]. | |
| constexpr double | GLONASS_L1_CA_CODE_RATE_CPS = 0.511e6 |
| GLONASS L1 C/A code rate [chips/s]. | |
| constexpr double | GLONASS_L1_CA_CODE_LENGTH_CHIPS = 511.0 |
| GLONASS L1 C/A code length [chips]. | |
| constexpr double | GLONASS_L1_CA_CODE_PERIOD_S = 0.001 |
| GLONASS L1 C/A code period [seconds]. | |
| constexpr double | GLONASS_L1_CA_SYMBOL_PERIOD_S = 0.01 |
| GLONASS L1 C/A symbol period [seconds]. | |
| constexpr double | GLONASS_L1_CA_CHIP_PERIOD_S = 1.9569e-06 |
| GLONASS L1 C/A chip period [seconds]. | |
| constexpr double | GLONASS_L1_CA_SYMBOL_RATE_BPS = 1000.0 |
| constexpr uint32_t | GLONASS_L1_CA_CODE_PERIOD_MS = 1 |
| constexpr uint32_t | GLONASS_L2_CA_CODE_PERIOD_MS = 1 |
| constexpr int32_t | GLONASS_CA_NBR_SATS = 24 |
| constexpr int32_t | GLONASS_L1_CA_HISTORY_DEEP = 100 |
| constexpr char | GLONASS_GNAV_PREAMBLE_STR [301] = "111111111111111111111111111111111111111111111111110000000000000000000000000000001111111111111111111100000000001111111111111111111111111111110000000000111111111100000000001111111111000000000000000000000000000000000000000011111111110000000000000000000011111111110000000000111111111111111111110000000000" |
| constexpr double | GLONASS_GNAV_PREAMBLE_DURATION_S = 0.300 |
| constexpr int32_t | GLONASS_GNAV_PREAMBLE_LENGTH_BITS = 30 |
| constexpr int32_t | GLONASS_GNAV_PREAMBLE_LENGTH_SYMBOLS = 300 |
| constexpr int32_t | GLONASS_GNAV_PREAMBLE_PERIOD_SYMBOLS = 2000 |
| constexpr int32_t | GLONASS_GNAV_PREAMBLE_PERIOD_BITS = 200 |
| constexpr int32_t | GLONASS_GNAV_TELEMETRY_RATE_BITS_SECOND = 50 |
| NAV message bit rate [bits/s]. | |
| constexpr int32_t | GLONASS_GNAV_TELEMETRY_SYMBOLS_PER_BIT = 10 |
| constexpr int32_t | GLONASS_GNAV_TELEMETRY_SYMBOLS_PER_PREAMBLE_BIT = 10 |
| constexpr int32_t | GLONASS_GNAV_TELEMETRY_RATE_SYMBOLS_SECOND = GLONASS_GNAV_TELEMETRY_RATE_BITS_SECOND * GLONASS_GNAV_TELEMETRY_SYMBOLS_PER_BIT |
| NAV message bit rate [symbols/s]. | |
| constexpr int32_t | GLONASS_GNAV_STRING_SYMBOLS_WITH_PREABLE = 2000 |
| constexpr int32_t | GLONASS_GNAV_STRING_BIBINARY_WITH_PREABLE = 200 |
| Number of bits per string in the GNAV message (85 data bits + 30 time mark bits) [bits]. | |
| constexpr int32_t | GLONASS_GNAV_STRING_BITS = 85 |
| Number of bits per string in the GNAV message (85 data bits + 30 time mark bits) [bits]. | |
| constexpr int32_t | GLONASS_GNAV_HAMMING_CODE_BITS = 8 |
| Number of bits in hamming code sequence of GNAV message. | |
| constexpr int32_t | GLONASS_GNAV_DATA_SYMBOLS = 1700 |
| constexpr double | GLONASS_LEAP_SECONDS [19][7] |
| Record of leap seconds definition for GLOT to GPST conversion and vice versa. | |
| const std::map< uint32_t, int32_t > | GLONASS_PRN |
| const std::vector< int32_t > | GLONASS_GNAV_CRC_I_INDEX {9, 10, 12, 13, 15, 17, 19, 20, 22, 24, 26, 28, 30, 32, 34, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84} |
| const std::vector< int32_t > | GLONASS_GNAV_CRC_J_INDEX {9, 11, 12, 14, 15, 18, 19, 21, 22, 25, 26, 29, 30, 33, 34, 36, 37, 40, 41, 44, 45, 48, 49, 52, 53, 56, 57, 60, 61, 64, 65, 67, 68, 71, 72, 75, 76, 79, 80, 83, 84} |
| const std::vector< int32_t > | GLONASS_GNAV_CRC_K_INDEX {10, 11, 12, 16, 17, 18, 19, 23, 24, 25, 26, 31, 32, 33, 34, 38, 39, 40, 41, 46, 47, 48, 49, 54, 55, 56, 57, 62, 63, 64, 65, 69, 70, 71, 72, 77, 78, 79, 80, 85} |
| const std::vector< int32_t > | GLONASS_GNAV_CRC_L_INDEX {13, 14, 15, 16, 17, 18, 19, 27, 28, 29, 30, 31, 32, 33, 34, 42, 43, 44, 45, 46, 47, 48, 49, 58, 59, 60, 61, 62, 63, 64, 65, 73, 74, 75, 76, 77, 78, 79, 80} |
| const std::vector< int32_t > | GLONASS_GNAV_CRC_M_INDEX {20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 81, 82, 83, 84, 85} |
| const std::vector< int32_t > | GLONASS_GNAV_CRC_N_INDEX {35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65} |
| const std::vector< int32_t > | GLONASS_GNAV_CRC_P_INDEX {66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85} |
| const std::vector< int32_t > | GLONASS_GNAV_CRC_Q_INDEX {9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85} |
| const std::vector< int32_t > | GLONASS_GNAV_ECC_LOCATOR {0, 0, 1, 8, 2, 9, 10, 11, 3, 12, 13, 14, 15, 16, 17, 18, 4, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 5, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84} |
Defines system parameters for GLONASS L1 C/A signal and NAV data.
GNSS-SDR is a Global Navigation Satellite System software-defined receiver. This file is part of GNSS-SDR.
Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors) SPDX-License-Identifier: GPL-3.0-or-later
Definition in file GLONASS_L1_L2_CA.h.