1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-14 17:19:58 +00:00
gnss-sdr/src/algorithms/libs/gnss_time.h

33 lines
921 B
C
Raw Permalink Normal View History

2021-12-02 09:29:25 +00:00
/*!
* \file gnss_time.h
* \brief class that stores both the receiver time, relative to the receiver start and the GNSS time (absolute)
* \author Javier Arribas 2022. jarribas(at)cttc.es
*
2021-12-02 09:29:25 +00:00
* -----------------------------------------------------------------------------
*
2021-12-02 09:29:25 +00:00
* GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
* This file is part of GNSS-SDR.
*
2021-12-02 09:29:25 +00:00
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
* SPDX-License-Identifier: GPL-3.0-or-later
*
* -----------------------------------------------------------------------------
*/
2021-12-02 09:29:25 +00:00
#ifndef GNSS_SDR_GNSS_TIME_H
#define GNSS_SDR_GNSS_TIME_H
#include <cstdint>
class GnssTime
{
public:
double rx_time;
int week; /*!< GPS week number (since January 1980) */
int tow_ms; /* time of week [ms]*/
double tow_ms_fraction; /* tow ms fractional part [ms]*/
};
#endif