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:
parent
6915e5e24e
commit
0dab031127
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user