adding LOG output to migration tool (#1180)
Adding some log-feedback to the serialization migration tool.master
parent
73d18e5fc5
commit
000b967c79
|
@ -42,6 +42,10 @@ int main(int argc, char** argv) {
|
||||||
}
|
}
|
||||||
cartographer::io::ProtoStreamReader input(FLAGS_original_pbstream_file);
|
cartographer::io::ProtoStreamReader input(FLAGS_original_pbstream_file);
|
||||||
cartographer::io::ProtoStreamWriter output(FLAGS_output_pbstream_file);
|
cartographer::io::ProtoStreamWriter output(FLAGS_output_pbstream_file);
|
||||||
|
LOG(INFO) << "Migrating old serialization format in \""
|
||||||
|
<< FLAGS_original_pbstream_file
|
||||||
|
<< "\" to new serialization format in \""
|
||||||
|
<< FLAGS_output_pbstream_file << "\"";
|
||||||
cartographer::io::MigrateStreamFormatToVersion1(&input, &output);
|
cartographer::io::MigrateStreamFormatToVersion1(&input, &output);
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue