1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-13 16:56:52 +00:00
gnss-sdr/src/core/system_parameters/beidou_dnav_ephemeris.cc
Carles Fernandez 7971565a0d
Give more natural, consistent names to ephemeris / iono / utc parameters exposed outside the receiver via XML files
Create a base class for GPS, Galileo and BeiDou ephemeris, allowing to remove some duplicated code

Use BOOST_SERIALIZATION_NVP macro, less error prone than boost::serialization::make_nvp

Update .xsd files
2021-02-21 00:01:56 +01:00

31 lines
954 B
C++

/*!
* \file beidou_dnav_ephemeris.cc
* \brief Interface of a BeiDou EPHEMERIS storage and orbital model functions
* \author Sergi Segura, 2018. sergi.segura.munoz(at)gmail.com
*
* -----------------------------------------------------------------------------
*
* 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
*
* -----------------------------------------------------------------------------
*/
#include "beidou_dnav_ephemeris.h"
#include "gnss_satellite.h"
#include <string>
Beidou_Dnav_Ephemeris::Beidou_Dnav_Ephemeris()
{
auto gnss_sat = Gnss_Satellite();
const std::string _system("Beidou");
for (unsigned int i = 1; i < 36; i++)
{
satelliteBlock[i] = gnss_sat.what_block(_system, i);
}
this->System = 'B';
}