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
|
|
|
*
|
2020-12-30 12:35:06 +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.
|
|
|
|
*
|
2020-12-30 12:35:06 +00:00
|
|
|
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
|
2020-02-08 00:20:02 +00:00
|
|
|
* 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
|
|
|
*/
|
|
|
|
|
2018-10-22 19:16:38 +00:00
|
|
|
#include "beidou_dnav_ephemeris.h"
|
2018-06-15 02:19:32 +00:00
|
|
|
#include "gnss_satellite.h"
|
2021-02-20 23:01:56 +00:00
|
|
|
#include <string>
|
2020-06-10 08:15:59 +00:00
|
|
|
|
2018-10-22 20:12:50 +00:00
|
|
|
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");
|
2022-07-14 09:45:54 +00:00
|
|
|
for (unsigned int i = 1; i < 64; i++)
|
2018-06-15 02:19:32 +00:00
|
|
|
{
|
|
|
|
satelliteBlock[i] = gnss_sat.what_block(_system, i);
|
|
|
|
}
|
2021-02-20 23:01:56 +00:00
|
|
|
this->System = 'B';
|
2018-06-15 02:19:32 +00:00
|
|
|
}
|