27 for (
size_t i = 0; i < 20; i++)
45 catch (std::exception& e)
47 std::cout <<
"MRPT exception caught: " << e.what() << std::endl;
52 printf(
"Untyped exception!!");
mrpt::system::TTimeStamp getCurrentTime()
Returns the current (UTC) system time.
mrpt::Clock::time_point TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::string dateTimeToString(const mrpt::system::TTimeStamp t)
Convert a timestamp into this textual form (UTC time): YEAR/MONTH/DAY,HH:MM:SS.MMM.