gnss-sdr/src/core/system_parameters/beidou_dnav_ephemeris.cc

31 lines
954 B
C++
Raw Permalink Normal View History

2018-06-15 02:19:32 +00:00
/*!
2019-02-17 12:36:33 +00:00
* \file beidou_dnav_ephemeris.cc
2018-06-15 02:19:32 +00:00
* \brief Interface of a BeiDou EPHEMERIS storage and orbital model functions
* \author Sergi Segura, 2018. sergi.segura.munoz(at)gmail.com
*
2020-07-28 14:57:15 +00:00
* -----------------------------------------------------------------------------
2018-06-15 02:19:32 +00:00
*
* GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
2018-06-15 02:19:32 +00:00
* 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
2018-06-15 02:19:32 +00:00
*
2020-07-28 14:57:15 +00:00
* -----------------------------------------------------------------------------
2018-06-15 02:19:32 +00:00
*/
#include "beidou_dnav_ephemeris.h"
2018-06-15 02:19:32 +00:00
#include "gnss_satellite.h"
#include <string>
Beidou_Dnav_Ephemeris::Beidou_Dnav_Ephemeris()
2018-06-15 02:19:32 +00:00
{
auto gnss_sat = Gnss_Satellite();
2020-07-19 12:26:15 +00:00
const std::string _system("Beidou");
for (unsigned int i = 1; i < 64; i++)
2018-06-15 02:19:32 +00:00
{
satelliteBlock[i] = gnss_sat.what_block(_system, i);
}
this->System = 'B';
2018-06-15 02:19:32 +00:00
}