GNSS-SDR  0.0.17
An Open Source GNSS Software Defined Receiver
rtklib_conversions.h
Go to the documentation of this file.
1 /*!
2  * \file rtklib_conversions.h
3  * \brief GNSS-SDR to RTKLIB data structures conversion functions
4  * \author 2017, Javier Arribas
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 #ifndef GNSS_SDR_RTKLIB_CONVERSIONS_H
18 #define GNSS_SDR_RTKLIB_CONVERSIONS_H
19 
20 #include "rtklib.h"
21 
22 /** \addtogroup PVT
23  * \{ */
24 /** \addtogroup RTKLIB_Library
25  * \{ */
26 
27 
29 class Galileo_Almanac;
30 class Galileo_Ephemeris;
33 class Gnss_Synchro;
34 class Gps_Almanac;
35 class Gps_CNAV_Ephemeris;
36 class Gps_Ephemeris;
37 
38 eph_t eph_to_rtklib(const Galileo_Ephemeris& gal_eph);
39 eph_t eph_to_rtklib(const Gps_Ephemeris& gps_eph, bool pre_2009_file);
40 eph_t eph_to_rtklib(const Gps_CNAV_Ephemeris& gps_cnav_eph);
42 
43 alm_t alm_to_rtklib(const Gps_Almanac& gps_alm);
44 alm_t alm_to_rtklib(const Galileo_Almanac& gal_alm);
45 
46 /*!
47  * \brief Transforms a Glonass_Gnav_Ephemeris to its RTKLIB counterpart
48  * \param glonass_gnav_eph GLONASS GNAV Ephemeris structure
49  * \return Ephemeris structure for RTKLIB parsing
50  */
51 geph_t eph_to_rtklib(const Glonass_Gnav_Ephemeris& glonass_gnav_eph, const Glonass_Gnav_Utc_Model& gnav_clock_model);
52 
53 obsd_t insert_obs_to_rtklib(obsd_t& rtklib_obs, const Gnss_Synchro& gnss_synchro, int week, int band, bool pre_2009_file = false);
54 
55 
56 /** \} */
57 /** \} */
58 #endif // GNSS_SDR_RTKLIB_CONVERSIONS_H
This is a storage class for the GPS CNAV ephemeris data as described in IS-GPS-200M.
This class is a storage and orbital model functions for the GPS SV ephemeris data as described in IS-...
Definition: gps_ephemeris.h:40
Definition: rtklib.h:362
Definition: rtklib.h:457
Definition: rtklib.h:432
This class is a storage for the Galileo SV ALMANAC data.
This class is a storage and orbital model functions for the GLONASS SV ephemeris data as described in...
This is a storage class for the Beidou SV ephemeris data as described in BeiDou Navigation Satellite ...
This is the class that contains the information that is shared by the processing blocks.
Definition: gnss_synchro.h:38
main header file for the rtklib library
This class is a storage and orbital model functions for the Galileo SV ephemeris data as described in...
This class is a storage for the GLONASS GNAV UTC MODEL data as described in GLONASS ICD (Edition 5...
Definition: rtklib.h:418
This class is a storage for the GPS SV ALMANAC data as described in IS-GPS-200M.
Definition: gps_almanac.h:35
geph_t eph_to_rtklib(const Glonass_Gnav_Ephemeris &glonass_gnav_eph, const Glonass_Gnav_Utc_Model &gnav_clock_model)
Transforms a Glonass_Gnav_Ephemeris to its RTKLIB counterpart.