mirror of https://github.com/gnss-sdr/gnss-sdr
56 lines
1.6 KiB
C++
56 lines
1.6 KiB
C++
/*!
|
|
* \file sbas_ephemeris.h
|
|
* \brief Interface of a SBAS REFERENCE LOCATION storage
|
|
* \author Daniel Fehr, 2013. daniel.co(at)bluewin.ch
|
|
*
|
|
* -----------------------------------------------------------------------------
|
|
*
|
|
* 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
|
|
*
|
|
* -----------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
#ifndef GNSS_SDR_SBAS_EPHEMERIS_H
|
|
#define GNSS_SDR_SBAS_EPHEMERIS_H
|
|
|
|
#include <ostream>
|
|
|
|
/** \addtogroup Core
|
|
* \{ */
|
|
/** \addtogroup System_Parameters
|
|
* \{ */
|
|
|
|
|
|
/*!
|
|
* \brief This class stores SBAS SV ephemeris data
|
|
*
|
|
*/
|
|
class Sbas_Ephemeris
|
|
{
|
|
public:
|
|
Sbas_Ephemeris() = default;
|
|
|
|
int i_prn{}; //!< PRN number
|
|
int i_t0{}; //!< Reference epoch time (GPST)
|
|
double d_tof{}; //!< Time of message frame (GPST)
|
|
int i_sv_ura{}; //!< SV accuracy (URA index), not standardized
|
|
bool b_sv_do_not_use{}; //!< Health status (false:do not use / true:usable)
|
|
double d_pos[3]{}; //!< Satellite position (m) (ECEF)
|
|
double d_vel[3]{}; //!< Satellite velocity (m/s) (ECEF)
|
|
double d_acc[3]{}; //!< Satellite acceleration (m/s^2) (ECEF)
|
|
double d_af0{}; //!< Satellite clock-offset (s)
|
|
double d_af1{}; //!< Satellite drift (s/s)
|
|
|
|
void print(std::ostream &out);
|
|
};
|
|
|
|
|
|
/** \} */
|
|
/** \} */
|
|
#endif // GNSS_SDR_SBAS_EPHEMERIS_H
|