1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-13 08:49:27 +00:00
gnss-sdr/src/core/system_parameters/beidou_dnav_almanac.h

73 lines
1.8 KiB
C
Raw Normal View History

2018-08-06 11:52:08 +00:00
/*!
* \file beidou_dnav_almanac.h
* \brief Interface of a Beidou DNAV Almanac storage
* \author Sergi Segura, 2018. sergi.segura.munoz(at)gmail.com
2018-08-06 11:52:08 +00:00
*
2020-07-28 14:57:15 +00:00
* -----------------------------------------------------------------------------
2018-08-06 11:52:08 +00:00
*
* GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
2018-08-06 11:52:08 +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-08-06 11:52:08 +00:00
*
2020-07-28 14:57:15 +00:00
* -----------------------------------------------------------------------------
2018-08-06 11:52:08 +00:00
*/
#ifndef GNSS_SDR_BEIDOU_DNAV_ALMANAC_H
#define GNSS_SDR_BEIDOU_DNAV_ALMANAC_H
2018-08-06 11:52:08 +00:00
#include "gnss_almanac.h"
#include <boost/serialization/nvp.hpp>
/** \addtogroup Core
* \{ */
/** \addtogroup System_Parameters
* \{ */
2018-08-06 11:52:08 +00:00
/*!
2019-01-01 19:46:57 +00:00
* \brief This class is a storage for the BeiDou D1 almanac
2018-08-06 11:52:08 +00:00
*/
class Beidou_Dnav_Almanac : public Gnss_Almanac
2018-08-06 11:52:08 +00:00
{
public:
/*!
* Default constructor
*/
2022-03-20 09:44:26 +00:00
Beidou_Dnav_Almanac()
{
this->System = 'B';
};
int SV_health{}; //!< SV Health
template <class Archive>
void serialize(Archive& ar, const unsigned int version)
{
if (version)
{
};
ar& BOOST_SERIALIZATION_NVP(PRN);
ar& BOOST_SERIALIZATION_NVP(delta_i);
ar& BOOST_SERIALIZATION_NVP(toa);
ar& BOOST_SERIALIZATION_NVP(WNa);
ar& BOOST_SERIALIZATION_NVP(M_0);
ar& BOOST_SERIALIZATION_NVP(ecc);
ar& BOOST_SERIALIZATION_NVP(sqrtA);
ar& BOOST_SERIALIZATION_NVP(OMEGA_0);
ar& BOOST_SERIALIZATION_NVP(omega);
ar& BOOST_SERIALIZATION_NVP(OMEGAdot);
ar& BOOST_SERIALIZATION_NVP(af0);
ar& BOOST_SERIALIZATION_NVP(af1);
ar& BOOST_SERIALIZATION_NVP(SV_health);
}
2018-08-06 11:52:08 +00:00
};
/** \} */
/** \} */
#endif // GNSS_SDR_BEIDOU_DNAV_ALMANAC_H