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

34 lines
976 B
C++
Raw Permalink Normal View History

/*!
* \file gps_ephemeris.cc
* \brief Interface of a GPS EPHEMERIS storage and orbital model functions
*
2021-07-24 11:47:52 +00:00
* See https://www.gps.gov/technical/icwg/IS-GPS-200M.pdf Appendix II
* \author Javier Arribas, 2013. jarribas(at)cttc.es
*
2020-07-28 14:57:15 +00:00
* -----------------------------------------------------------------------------
*
* 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
*
2020-07-28 14:57:15 +00:00
* -----------------------------------------------------------------------------
*/
#include "gps_ephemeris.h"
#include "gnss_satellite.h"
#include <string>
Gps_Ephemeris::Gps_Ephemeris()
{
auto gnss_sat = Gnss_Satellite();
2020-07-19 12:26:15 +00:00
const std::string _system("GPS");
for (uint32_t i = 1; i < 33; i++)
{
satelliteBlock[i] = gnss_sat.what_block(_system, i);
}
this->System = 'G';
}