Only use ROS log sink in pbstream_map_publisher_main.cc (#1040)

Fixes double logging to stderr and rosout and makes it consistent with other
cartographer_ros nodes.
master
Michael Grupp 2018-10-15 11:20:39 +02:00 committed by Wally B. Feed
parent 5f2dff9df0
commit e2f72ff514
1 changed files with 0 additions and 1 deletions

View File

@ -84,7 +84,6 @@ void Run(const std::string& pbstream_filename, const std::string& map_topic,
} // namespace cartographer_ros
int main(int argc, char** argv) {
FLAGS_alsologtostderr = true;
google::InitGoogleLogging(argv[0]);
google::ParseCommandLineFlags(&argc, &argv, true);