BDSD1NavEph.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_BDSD1NAVEPH_HPP
40 #define GNSSTK_BDSD1NAVEPH_HPP
41 
42 #include "BDSD1NavData.hpp"
43 
44 namespace gnsstk
45 {
47 
48 
52  class BDSD1NavEph : public BDSD1NavData
53  {
54  public:
56  BDSD1NavEph();
58  NavDataPtr clone() const override
59  { return std::make_shared<BDSD1NavEph>(*this); }
60 
66  bool validate() const override;
67 
75  CommonTime getUserTime() const override;
76 
83  void fixFit();
84 
87  void dumpSVStatus(std::ostream& s) const override;
88 
94  static unsigned getAOD(uint8_t aod);
95 
96  uint32_t pre2;
97  uint32_t pre3;
98  uint32_t rev2;
99  uint32_t rev3;
100  uint32_t sow2;
101  uint32_t sow3;
102  bool satH1;
104  uint8_t aodc;
105  uint8_t aode;
106 
110  uint8_t uraIndex;
113  double tgd1;
114  double tgd2;
115  };
116 
118 
119 }
120 
121 #endif // GNSSTK_BDSD1NAVEPH_HPP
gnsstk::NavDataPtr
std::shared_ptr< NavData > NavDataPtr
Factories instantiate these in response to find() requests.
Definition: NavData.hpp:62
gnsstk::BDSD1NavEph::clone
NavDataPtr clone() const override
Create a deep copy of this object.
Definition: BDSD1NavEph.hpp:58
gnsstk::BDSD1NavEph::validate
bool validate() const override
Definition: BDSD1NavEph.cpp:71
gnsstk::BDSD1NavEph::satH1
bool satH1
Autonomous satellite health flag.
Definition: BDSD1NavEph.hpp:103
gnsstk::BDSD1NavEph::xmit3
CommonTime xmit3
Transmit time for subframe 3.
Definition: BDSD1NavEph.hpp:112
gnsstk::BDSD1NavEph
Definition: BDSD1NavEph.hpp:52
gnsstk::BDSD1NavEph::dumpSVStatus
void dumpSVStatus(std::ostream &s) const override
Definition: BDSD1NavEph.cpp:100
gnsstk::BDSD1NavEph::rev3
uint32_t rev3
The rev field from word 1 of subframe 3.
Definition: BDSD1NavEph.hpp:99
gnsstk::BDSD1NavEph::uraIndex
uint8_t uraIndex
4-bit URA index from subframe 1.
Definition: BDSD1NavEph.hpp:110
gnsstk::BDSD1NavEph::getAOD
static unsigned getAOD(uint8_t aod)
Definition: BDSD1NavEph.cpp:137
gnsstk::BDSD1NavEph::aodc
uint8_t aodc
Age of data - clock.
Definition: BDSD1NavEph.hpp:104
gnsstk::BDSD1NavEph::fixFit
void fixFit()
Definition: BDSD1NavEph.cpp:87
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
BDSD1NavData.hpp
gnsstk::BDSD1NavData
Definition: BDSD1NavData.hpp:55
gnsstk::CommonTime
Definition: CommonTime.hpp:84
gnsstk::BDSD1NavEph::sow2
uint32_t sow2
Seconds of week from word 1-2 of subframe 2.
Definition: BDSD1NavEph.hpp:100
gnsstk::BDSD1NavEph::getUserTime
CommonTime getUserTime() const override
Definition: BDSD1NavEph.cpp:80
gnsstk::BDSD1NavEph::tgd1
double tgd1
Group delay differential on B1I.
Definition: BDSD1NavEph.hpp:113
gnsstk::BDSD1NavEph::rev2
uint32_t rev2
The rev field from word 1 of subframe 2.
Definition: BDSD1NavEph.hpp:98
gnsstk::BDSD1NavEph::pre2
uint32_t pre2
The preamble from the start of subframe 2.
Definition: BDSD1NavEph.hpp:96
gnsstk::BDSD1NavEph::pre3
uint32_t pre3
The preamble from the start of subframe 3.
Definition: BDSD1NavEph.hpp:97
gnsstk::BDSD1NavEph::aode
uint8_t aode
Age of data - ephemeris.
Definition: BDSD1NavEph.hpp:105
gnsstk::BDSD1NavEph::tgd2
double tgd2
Group delay differential on B2I.
Definition: BDSD1NavEph.hpp:114
gnsstk::BDSD1NavEph::xmit2
CommonTime xmit2
Transmit time for subframe 2.
Definition: BDSD1NavEph.hpp:111
gnsstk::BDSD1NavEph::sow3
uint32_t sow3
Definition: BDSD1NavEph.hpp:101
gnsstk::BDSD1NavEph::BDSD1NavEph
BDSD1NavEph()
Sets the nav message type and all other data members to 0.
Definition: BDSD1NavEph.cpp:50


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