BDSD2NavEph.hpp
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 #ifndef GNSSTK_BDSD2NAVEPH_HPP
40 #define GNSSTK_BDSD2NAVEPH_HPP
41 
42 #include "BDSD2NavData.hpp"
43 
44 namespace gnsstk
45 {
47 
48 
57  class BDSD2NavEph : public BDSD2NavData
58  {
59  public:
61  BDSD2NavEph();
63  NavDataPtr clone() const override
64  { return std::make_shared<BDSD2NavEph>(*this); }
65 
76  bool getXvt(const CommonTime& when, Xvt& xvt,
77  const ObsID& = ObsID()) override;
78 
84  bool validate() const override;
85 
93  CommonTime getUserTime() const override;
94 
101  void fixFit();
102 
105  void dumpSVStatus(std::ostream& s) const override;
106 
112  static unsigned getAOD(uint8_t aod);
113 
115  bool satH1;
116  uint8_t aodc;
117  uint8_t aode;
118 
122  uint8_t uraIndex;
123  double tgd1;
124  double tgd2;
125  };
126 
128 
129 }
130 
131 #endif // GNSSTK_BDSD2NAVEPH_HPP
gnsstk::NavDataPtr
std::shared_ptr< NavData > NavDataPtr
Factories instantiate these in response to find() requests.
Definition: NavData.hpp:62
gnsstk::BDSD2NavEph::BDSD2NavEph
BDSD2NavEph()
Sets the nav message type and all other data members to 0.
Definition: BDSD2NavEph.cpp:51
gnsstk::BDSD2NavEph::satH1
bool satH1
Autonomous satellite health flag.
Definition: BDSD2NavEph.hpp:115
gnsstk::BDSD2NavEph::aodc
uint8_t aodc
Age of data - clock.
Definition: BDSD2NavEph.hpp:116
gnsstk::BDSD2NavEph::validate
bool validate() const override
Definition: BDSD2NavEph.cpp:303
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::BDSD2NavEph::tgd2
double tgd2
Group delay differential on B2I.
Definition: BDSD2NavEph.hpp:124
gnsstk::BDSD2NavEph::getUserTime
CommonTime getUserTime() const override
Definition: BDSD2NavEph.cpp:310
gnsstk::ObsID
Definition: ObsID.hpp:82
gnsstk::CommonTime
Definition: CommonTime.hpp:84
gnsstk::BDSD2NavEph
Definition: BDSD2NavEph.hpp:57
gnsstk::Xvt
Definition: Xvt.hpp:60
gnsstk::BDSD2NavEph::getXvt
bool getXvt(const CommonTime &when, Xvt &xvt, const ObsID &=ObsID()) override
Definition: BDSD2NavEph.cpp:64
BDSD2NavData.hpp
gnsstk::BDSD2NavEph::tgd1
double tgd1
Group delay differential on B1I.
Definition: BDSD2NavEph.hpp:123
gnsstk::BDSD2NavEph::aode
uint8_t aode
Age of data - ephemeris.
Definition: BDSD2NavEph.hpp:117
gnsstk::BDSD2NavData
Definition: BDSD2NavData.hpp:51
gnsstk::BDSD2NavEph::getAOD
static unsigned getAOD(uint8_t aod)
Definition: BDSD2NavEph.cpp:366
gnsstk::BDSD2NavEph::uraIndex
uint8_t uraIndex
4-bit URA index from subframe 1.
Definition: BDSD2NavEph.hpp:122
gnsstk::BDSD2NavEph::fixFit
void fixFit()
Definition: BDSD2NavEph.cpp:318
gnsstk::BDSD2NavEph::clone
NavDataPtr clone() const override
Create a deep copy of this object.
Definition: BDSD2NavEph.hpp:63
gnsstk::BDSD2NavEph::dumpSVStatus
void dumpSVStatus(std::ostream &s) const override
Definition: BDSD2NavEph.cpp:331


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