MRPT
1.9.9
|
#include <gtest/gtest.h>
#include <mrpt/hwdrivers/CGPSInterface.h>
#include <mrpt/io/CMemoryStream.h>
Go to the source code of this file.
Functions | |
TEST (CGPSInterface, parse_NMEA_GGA) | |
TEST (CGPSInterface, parse_NMEA_RMC) | |
TEST (CGPSInterface, parse_NMEA_GLL) | |
TEST (CGPSInterface, parse_NMEA_VTG) | |
TEST (CGPSInterface, parse_NMEA_ZDA) | |
TEST (CGPSInterface, parse_NMEA_ZDA_stream) | |
TEST (CGPSInterface, parse_NOVATEL6_stream) | |
TEST | ( | CGPSInterface | , |
parse_NMEA_GGA | |||
) |
Definition at line 22 of file CGPSInterface_unittest.cpp.
References mrpt::obs::gnss::Message_NMEA_GGA::content_t::altitude_meters, mrpt::obs::gnss::Message_NMEA_GGA::fields, mrpt::obs::CObservationGPS::getMsgByClassPtr(), mrpt::obs::gnss::Message_NMEA_GGA::content_t::latitude_degrees, mrpt::obs::gnss::Message_NMEA_GGA::content_t::longitude_degrees, and mrpt::hwdrivers::CGPSInterface::parse_NMEA().
TEST | ( | CGPSInterface | , |
parse_NMEA_RMC | |||
) |
Definition at line 52 of file CGPSInterface_unittest.cpp.
References mrpt::obs::gnss::Message_NMEA_RMC::fields, mrpt::obs::CObservationGPS::getMsgByClassPtr(), mrpt::obs::gnss::Message_NMEA_RMC::content_t::latitude_degrees, mrpt::obs::gnss::Message_NMEA_RMC::content_t::longitude_degrees, and mrpt::hwdrivers::CGPSInterface::parse_NMEA().
TEST | ( | CGPSInterface | , |
parse_NMEA_GLL | |||
) |
Definition at line 69 of file CGPSInterface_unittest.cpp.
References mrpt::obs::gnss::Message_NMEA_GLL::fields, mrpt::obs::CObservationGPS::getMsgByClassPtr(), mrpt::obs::gnss::Message_NMEA_GLL::content_t::latitude_degrees, mrpt::obs::gnss::Message_NMEA_GLL::content_t::longitude_degrees, and mrpt::hwdrivers::CGPSInterface::parse_NMEA().
TEST | ( | CGPSInterface | , |
parse_NMEA_VTG | |||
) |
Definition at line 85 of file CGPSInterface_unittest.cpp.
References mrpt::obs::gnss::Message_NMEA_VTG::fields, mrpt::obs::CObservationGPS::getMsgByClassPtr(), mrpt::obs::gnss::Message_NMEA_VTG::content_t::ground_speed_kmh, mrpt::obs::gnss::Message_NMEA_VTG::content_t::ground_speed_knots, mrpt::obs::gnss::Message_NMEA_VTG::content_t::magnetic_track, mrpt::hwdrivers::CGPSInterface::parse_NMEA(), and mrpt::obs::gnss::Message_NMEA_VTG::content_t::true_track.
TEST | ( | CGPSInterface | , |
parse_NMEA_ZDA | |||
) |
Definition at line 103 of file CGPSInterface_unittest.cpp.
References mrpt::obs::gnss::Message_NMEA_ZDA::content_t::date_day, mrpt::obs::gnss::Message_NMEA_ZDA::content_t::date_month, mrpt::obs::gnss::Message_NMEA_ZDA::content_t::date_year, mrpt::obs::gnss::Message_NMEA_ZDA::fields, mrpt::obs::CObservationGPS::getMsgByClassPtr(), mrpt::obs::gnss::UTC_time::hour, mrpt::obs::gnss::UTC_time::minute, mrpt::hwdrivers::CGPSInterface::parse_NMEA(), mrpt::obs::gnss::UTC_time::sec, and mrpt::obs::gnss::Message_NMEA_ZDA::content_t::UTCTime.
TEST | ( | CGPSInterface | , |
parse_NMEA_ZDA_stream | |||
) |
Definition at line 125 of file CGPSInterface_unittest.cpp.
References mrpt::hwdrivers::CGPSInterface::bindStream(), mrpt::hwdrivers::CGPSInterface::doProcess(), mrpt::ptr_cast< CAST_TO >::from(), mrpt::hwdrivers::CGenericSensor::getObservations(), mrpt::hwdrivers::CGenericSensor::initialize(), mrpt::io::CMemoryStream::Seek(), and mrpt::io::CMemoryStream::Write().
TEST | ( | CGPSInterface | , |
parse_NOVATEL6_stream | |||
) |
Definition at line 162 of file CGPSInterface_unittest.cpp.
References mrpt::hwdrivers::CGPSInterface::bindStream(), mrpt::hwdrivers::CGPSInterface::doProcess(), mrpt::ptr_cast< CAST_TO >::from(), mrpt::hwdrivers::CGenericSensor::getObservations(), mrpt::hwdrivers::CGenericSensor::initialize(), mrpt::io::CMemoryStream::Seek(), and mrpt::io::CMemoryStream::Write().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |