GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
sbas_ephemeris.h
Go to the documentation of this file.
1 /*!
2  * \file sbas_ephemeris.h
3  * \brief Interface of a SBAS REFERENCE LOCATION storage
4  * \author Daniel Fehr, 2013. daniel.co(at)bluewin.ch
5  *
6  * -----------------------------------------------------------------------------
7  *
8  * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
9  * This file is part of GNSS-SDR.
10  *
11  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
12  * SPDX-License-Identifier: GPL-3.0-or-later
13  *
14  * -----------------------------------------------------------------------------
15  */
16 
17 
18 #ifndef GNSS_SDR_SBAS_EPHEMERIS_H
19 #define GNSS_SDR_SBAS_EPHEMERIS_H
20 
21 #include <ostream>
22 
23 /** \addtogroup Core
24  * \{ */
25 /** \addtogroup System_Parameters
26  * \{ */
27 
28 
29 /*!
30  * \brief This class stores SBAS SV ephemeris data
31  *
32  */
34 {
35 public:
36  Sbas_Ephemeris() = default;
37 
38  int i_prn{}; //!< PRN number
39  int i_t0{}; //!< Reference epoch time (GPST)
40  double d_tof{}; //!< Time of message frame (GPST)
41  int i_sv_ura{}; //!< SV accuracy (URA index), not standardized
42  bool b_sv_do_not_use{}; //!< Health status (false:do not use / true:usable)
43  double d_pos[3]{}; //!< Satellite position (m) (ECEF)
44  double d_vel[3]{}; //!< Satellite velocity (m/s) (ECEF)
45  double d_acc[3]{}; //!< Satellite acceleration (m/s^2) (ECEF)
46  double d_af0{}; //!< Satellite clock-offset (s)
47  double d_af1{}; //!< Satellite drift (s/s)
48 
49  void print(std::ostream &out);
50 };
51 
52 
53 /** \} */
54 /** \} */
55 #endif // GNSS_SDR_SBAS_EPHEMERIS_H
double d_pos[3]
Satellite position (m) (ECEF)
int i_sv_ura
SV accuracy (URA index), not standardized.
double d_acc[3]
Satellite acceleration (m/s^2) (ECEF)
double d_vel[3]
Satellite velocity (m/s) (ECEF)
double d_af0
Satellite clock-offset (s)
double d_af1
Satellite drift (s/s)
int i_prn
PRN number.
bool b_sv_do_not_use
Health status (false:do not use / true:usable)
This class stores SBAS SV ephemeris data.
int i_t0
Reference epoch time (GPST)
double d_tof
Time of message frame (GPST)