1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-15 22:34:58 +00:00

fix: name of vtl raw dump file

This commit is contained in:
M.A. Gomez 2023-03-11 18:47:11 +01:00
parent 6915e5e24e
commit 0dab031127

View File

@ -167,7 +167,8 @@ Rtklib_Solver::Rtklib_Solver(const rtk_t &rtk,
try try
{ {
d_vtl_dump_file.exceptions(std::ofstream::failbit | std::ofstream::badbit); d_vtl_dump_file.exceptions(std::ofstream::failbit | std::ofstream::badbit);
d_vtl_dump_file.open(d_dump_filename + "_vtl", std::ios::out | std::ios::binary); int end_filename = d_dump_filename.length()-4;
d_vtl_dump_file.open(d_dump_filename.insert(end_filename, "_vtl"), std::ios::out | std::ios::binary);
LOG(INFO) << "PVT VTL dump enabled Log file: " << d_dump_filename + "_vtl"; LOG(INFO) << "PVT VTL dump enabled Log file: " << d_dump_filename + "_vtl";
} }
catch (const std::ofstream::failure &e) catch (const std::ofstream::failure &e)