38 #include <mrpt/system/string_utils.h> 39 #include <mrpt/system/filesystem.h> 43 MRPT_TODO(
"RawlogRecord writes the rawlog only on exit (Ctrl-C)");
45 log_info(
"writing dataset to disk...");
46 log_info(
"pRawLog entries %i",
pRawLog.size());
47 log_info(
"pRawLogASF entries %i",
pRawLogASF.size());
52 log_info(
"write %s", filename.c_str());
53 if (!
pRawLog.saveToRawLogFile(filename))
55 log_error(
"Error writing to %s", filename.c_str());
62 log_info(
"write %s", filename.c_str());
65 log_error(
"Error writing to %s", filename.c_str());
72 const auto prefix = mrpt::system::dateTimeLocalToString(t);
std::string raw_log_name_asf
void updateRawLogName(const mrpt::system::TTimeStamp &t)
std::string raw_log_folder