Skip to content

Commit

Permalink
Install offline node and disable duplicate logging. (cartographer-pro…
Browse files Browse the repository at this point in the history
…ject#220)

We already show the ROS log on the console.
  • Loading branch information
wohe authored Dec 8, 2016
1 parent 289ac94 commit 5bf1f9c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions cartographer_ros/cartographer_ros/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
)
1 change: 0 additions & 1 deletion cartographer_ros/cartographer_ros/offline_node_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 5bf1f9c

Please sign in to comment.