Main MRPT website > C++ reference for MRPT 1.5.6
Macros | Functions
CObservationGPS.cpp File Reference
#include "obs-precomp.h"
#include <mrpt/obs/CObservationGPS.h>
#include <mrpt/utils/CStream.h>
#include <mrpt/math/matrix_serialization.h>
#include <mrpt/utils/CMemoryStream.h>
#include <iomanip>
Include dependency graph for CObservationGPS.cpp:

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)
 

Macro Definition Documentation

#define TIMECONV_JULIAN_DATE_START_OF_GPS_TIME   (2444244.5)

Definition at line 286 of file CObservationGPS.cpp.

Referenced by TIMECONV_GetJulianDateFromGPSTime().

Function Documentation

bool TIMECONV_GetJulianDateFromGPSTime ( const unsigned short  gps_week,
const double  gps_tow,
const unsigned int  utc_offset,
double *  julian_date 
)
bool TIMECONV_GetNumberOfDaysInMonth ( const unsigned short  year,
const unsigned char  month,
unsigned char *  days_in_month 
)
Parameters
yearUniversal Time Coordinated [year]
monthUniversal Time Coordinated [1-12 months]
days_in_monthDays in the specified month [1-28|29|30|31 days]

Definition at line 312 of file CObservationGPS.cpp.

References TIMECONV_IsALeapYear().

Referenced by TIMECONV_GetUTCTimeFromJulianDate().

bool TIMECONV_GetUTCTimeFromJulianDate ( const double  julian_date,
mrpt::system::TTimeParts utc 
)
bool TIMECONV_IsALeapYear ( const unsigned short  year)

Definition at line 296 of file CObservationGPS.cpp.

Referenced by TIMECONV_GetNumberOfDaysInMonth().




Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018