Install offline node and disable duplicate logging. (#220)
We already show the ROS log on the console.master
parent
289ac94c4e
commit
5bf1f9c8ff
|
@ -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}
|
||||
)
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue