MRPT
1.9.9
|
#include "obs-precomp.h"
#include <mrpt/math/matrix_serialization.h>
#include <mrpt/obs/CObservationGPS.h>
#include <mrpt/serialization/CArchive.h>
#include <iomanip>
Go to the source code of this file.
Macros | |
#define | TIMECONV_JULIAN_DATE_START_OF_GPS_TIME (2444244.5) |
Functions | |
bool | TIMECONV_GetJulianDateFromGPSTime (const unsigned short gps_week, const double gps_tow, const unsigned int utc_offset, double *julian_date) |
bool | TIMECONV_IsALeapYear (const unsigned short year) |
bool | TIMECONV_GetNumberOfDaysInMonth (const unsigned short year, const unsigned char month, unsigned char *days_in_month) |
bool | TIMECONV_GetUTCTimeFromJulianDate (const double julian_date, mrpt::system::TTimeParts &utc) |
Number of days since noon Universal Time Jan 1, 4713 BCE (Julian calendar) [days]. More... | |
#define TIMECONV_JULIAN_DATE_START_OF_GPS_TIME (2444244.5) |
Definition at line 324 of file CObservationGPS.cpp.
Referenced by TIMECONV_GetJulianDateFromGPSTime().
bool TIMECONV_GetJulianDateFromGPSTime | ( | const unsigned short | gps_week, |
const double | gps_tow, | ||
const unsigned int | utc_offset, | ||
double * | julian_date | ||
) |
Definition at line 325 of file CObservationGPS.cpp.
References TIMECONV_JULIAN_DATE_START_OF_GPS_TIME, and mrpt::obs::gnss::utc_offset.
Referenced by mrpt::obs::CObservationGPS::GPS_time_to_UTC().
bool TIMECONV_GetNumberOfDaysInMonth | ( | const unsigned short | year, |
const unsigned char | month, | ||
unsigned char * | days_in_month | ||
) |
year | Universal Time Coordinated [year] |
month | Universal Time Coordinated [1-12 months] |
days_in_month | Days in the specified month [1-28|29|30|31 days] |
Definition at line 353 of file CObservationGPS.cpp.
References TIMECONV_IsALeapYear().
Referenced by TIMECONV_GetUTCTimeFromJulianDate().
bool TIMECONV_GetUTCTimeFromJulianDate | ( | const double | julian_date, |
mrpt::system::TTimeParts & | utc | ||
) |
Number of days since noon Universal Time Jan 1, 4713 BCE (Julian calendar) [days].
Definition at line 418 of file CObservationGPS.cpp.
References mrpt::system::TTimeParts::day, mrpt::system::TTimeParts::hour, mrpt::system::TTimeParts::minute, mrpt::system::TTimeParts::month, mrpt::system::TTimeParts::second, TIMECONV_GetNumberOfDaysInMonth(), and mrpt::system::TTimeParts::year.
Referenced by mrpt::obs::CObservationGPS::GPS_time_to_UTC().
bool TIMECONV_IsALeapYear | ( | const unsigned short | year | ) |
Definition at line 336 of file CObservationGPS.cpp.
Referenced by TIMECONV_GetNumberOfDaysInMonth().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020 |