GPSCNavData.cpp
Go to the documentation of this file.
1 //==============================================================================
2 //
3 // This file is part of GNSSTk, the ARL:UT GNSS Toolkit.
4 //
5 // The GNSSTk is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU Lesser General Public License as published
7 // by the Free Software Foundation; either version 3.0 of the License, or
8 // any later version.
9 //
10 // The GNSSTk is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with GNSSTk; if not, write to the Free Software Foundation,
17 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
18 //
19 // This software was developed by Applied Research Laboratories at the
20 // University of Texas at Austin.
21 // Copyright 2004-2022, The Board of Regents of The University of Texas System
22 //
23 //==============================================================================
24 
25 
26 //==============================================================================
27 //
28 // This software was developed by Applied Research Laboratories at the
29 // University of Texas at Austin, under contract to an agency or agencies
30 // within the U.S. Department of Defense. The U.S. Government retains all
31 // rights to use, duplicate, distribute, disclose, or release this software.
32 //
33 // Pursuant to DoD Directive 523024
34 //
35 // DISTRIBUTION STATEMENT A: This software has been approved for public
36 // release, distribution is unlimited.
37 //
38 //==============================================================================
39 #include "GPSCNavData.hpp"
40 
41 namespace gnsstk
42 {
43  const double GPSCNavData::refAGPS = 26559710;
44  const double GPSCNavData::refOMEGAdotEphGPS = -2.6e-9 * PI;
45  const double GPSCNavData::refOMEGAdotRedAlmGPS = -2.6e-9 * PI;
46  const double GPSCNavData::refi0GPS = 0.3 * PI;
47  const double GPSCNavData::refdeltaiGPS = 0.0056 * PI;
48  const double GPSCNavData::refwGPS = 0;
49  const double GPSCNavData::refEccGPS = 0;
50 
51  const double GPSCNavData::refAQZSS = 42164200;
52  const double GPSCNavData::refOMEGAdotEphQZSS = -2.6e-9 * PI;
53  const double GPSCNavData::refOMEGAdotRedAlmQZSS = -8.7e-10 * PI;
54  const double GPSCNavData::refi0QZSS = 0.25 * PI;
55  const double GPSCNavData::refdeltaiQZSS = 0.0056 * PI;
56  const double GPSCNavData::refwQZSS = 2.0 * PI * 270.0 / 360.0;
57  const double GPSCNavData::refEccQZSS = 0.075;
58 
61  : pre(0),
62  alert(false)
63  {}
64 
65 
66  bool GPSCNavData ::
67  validate() const
68  {
69  return ((pre == 0) || (pre == 0x8b));
70  }
71 }
gnsstk::GPSCNavData::refOMEGAdotEphGPS
static const GNSSTK_EXPORT double refOMEGAdotEphGPS
Definition: GPSCNavData.hpp:60
gnsstk::GPSCNavData::refdeltaiQZSS
static const GNSSTK_EXPORT double refdeltaiQZSS
Definition: GPSCNavData.hpp:88
gnsstk::GPSCNavData::refOMEGAdotEphQZSS
static const GNSSTK_EXPORT double refOMEGAdotEphQZSS
Ephemeris OMEGA dot reference value for QZSS (radians).
Definition: GPSCNavData.hpp:80
gnsstk::GPSCNavData::refOMEGAdotRedAlmQZSS
static const GNSSTK_EXPORT double refOMEGAdotRedAlmQZSS
Reduced almanac OMEGA dot reference value for QZSS (radians).
Definition: GPSCNavData.hpp:82
gnsstk::GPSCNavData::refAQZSS
static const GNSSTK_EXPORT double refAQZSS
Definition: GPSCNavData.hpp:78
gnsstk::GPSCNavData::refi0QZSS
static const GNSSTK_EXPORT double refi0QZSS
Definition: GPSCNavData.hpp:85
gnsstk::PI
const double PI
GPS value of PI; also specified by GAL.
Definition: GNSSconstants.hpp:62
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::GPSCNavData::refwQZSS
static const GNSSTK_EXPORT double refwQZSS
Argument of perigee reference value in IS-QZSS (radians).
Definition: GPSCNavData.hpp:90
gnsstk::GPSCNavData::refdeltaiGPS
static const GNSSTK_EXPORT double refdeltaiGPS
Definition: GPSCNavData.hpp:69
gnsstk::GPSCNavData::refOMEGAdotRedAlmGPS
static const GNSSTK_EXPORT double refOMEGAdotRedAlmGPS
Definition: GPSCNavData.hpp:63
gnsstk::GPSCNavData::refi0GPS
static const GNSSTK_EXPORT double refi0GPS
Definition: GPSCNavData.hpp:66
gnsstk::GPSCNavData::refEccQZSS
static const GNSSTK_EXPORT double refEccQZSS
Definition: GPSCNavData.hpp:93
gnsstk::GPSCNavData::refwGPS
static const GNSSTK_EXPORT double refwGPS
Argument of perigee reference value (radians, guessed at).
Definition: GPSCNavData.hpp:71
GPSCNavData.hpp
gnsstk::GPSCNavData::refEccGPS
static const GNSSTK_EXPORT double refEccGPS
Definition: GPSCNavData.hpp:74
gnsstk::GPSCNavData::refAGPS
static const GNSSTK_EXPORT double refAGPS
Definition: GPSCNavData.hpp:57
gnsstk::GPSCNavData::GPSCNavData
GPSCNavData()
Initialize data members.
Definition: GPSCNavData.cpp:60
gnsstk::GPSCNavData::pre
uint32_t pre
The preamble from the start of the subframe.
Definition: GPSCNavData.hpp:104
gnsstk::GPSCNavData::validate
bool validate() const override
Definition: GPSCNavData.cpp:67


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39