Install offline node and disable duplicate logging. (#220)

We already show the ROS log on the console.
master
Wolfgang Hess 2016-12-08 14:44:29 +01:00 committed by GitHub
parent 289ac94c4e
commit 5bf1f9c8ff
2 changed files with 7 additions and 1 deletions

View File

@ -194,6 +194,7 @@ install(TARGETS cartographer_assets_writer
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
google_binary(cartographer_offline_node
USES_CARTOGRAPHER
USES_GFLAGS
@ -205,3 +206,9 @@ google_binary(cartographer_offline_node
ros_log_sink
urdf_reader
)
install(TARGETS cartographer_offline_node
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

View File

@ -210,7 +210,6 @@ void Run(std::vector<string> bag_filenames) {
} // namespace cartographer_ros
int main(int argc, char** argv) {
FLAGS_alsologtostderr = true;
google::InitGoogleLogging(argv[0]);
google::ParseCommandLineFlags(&argc, &argv, true);