diff --git a/cartographer_ros.rosinstall b/cartographer_ros.rosinstall index 4d0fb77..1eb2d44 100644 --- a/cartographer_ros.rosinstall +++ b/cartographer_ros.rosinstall @@ -1,2 +1,2 @@ -- git: {local-name: src/cartographer, uri: 'https://github.com/googlecartographer/cartographer.git'} -- git: {local-name: src/cartographer_ros, uri: 'https://github.com/googlecartographer/cartographer_ros.git'} +- git: {local-name: cartographer, uri: 'https://github.com/googlecartographer/cartographer.git'} +- git: {local-name: cartographer_ros, uri: 'https://github.com/googlecartographer/cartographer_ros.git'} diff --git a/cartographer_ros/CMakeLists.txt b/cartographer_ros/CMakeLists.txt index f9875ff..bf8edb2 100644 --- a/cartographer_ros/CMakeLists.txt +++ b/cartographer_ros/CMakeLists.txt @@ -114,16 +114,8 @@ add_dependencies(time_conversion_test ${catkin_EXPORTED_TARGETS} ) -install(DIRECTORY launch/ - DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch/ -) - -install(DIRECTORY urdf/ - DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/urdf/ -) - -install(DIRECTORY configuration_files/ - DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/configuration_files/ +install(DIRECTORY launch urdf configuration_files + DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} ) install(TARGETS cartographer_node diff --git a/cartographer_rviz/CMakeLists.txt b/cartographer_rviz/CMakeLists.txt index ba53817..9c5711d 100644 --- a/cartographer_rviz/CMakeLists.txt +++ b/cartographer_rviz/CMakeLists.txt @@ -105,6 +105,6 @@ install(FILES rviz_plugin_description.xml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} ) -install(DIRECTORY ogre_media/ - DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/ogre_media +install(DIRECTORY ogre_media + DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} ) diff --git a/docs/source/index.rst b/docs/source/index.rst index fc57401..060e318 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -49,11 +49,11 @@ using `Ninja `_. # Create a new workspace in 'catkin_ws'. mkdir catkin_ws cd catkin_ws - wstool init + wstool init src - # Merge the cartographer_ros rosinstall file and fetch code for dependencies. - wstool merge https://raw.githubusercontent.com/googlecartographer/cartographer_ros/master/cartographer_ros.rosinstall - wstool update + # Merge the cartographer_ros.rosinstall file and fetch code for dependencies. + wstool merge -t src https://raw.githubusercontent.com/googlecartographer/cartographer_ros/master/cartographer_ros.rosinstall + wstool update -t src # Install deb dependencies. rosdep update diff --git a/scripts/install.sh b/scripts/install.sh index aeb4646..8ebba19 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -26,11 +26,11 @@ sudo apt-get install -y ninja-build # Create a new workspace in 'catkin_ws'. mkdir catkin_ws cd catkin_ws -wstool init +wstool init src -# Merge the cartographer_ros rosinstall file and fetch code for dependencies. -wstool merge ../cartographer_ros/cartographer_ros.rosinstall -wstool update +# Merge the cartographer_ros.rosinstall file and fetch code for dependencies. +wstool merge -t src ../cartographer_ros/cartographer_ros.rosinstall +wstool update -t src # Use the local version of cartographer_ros to include local modifications. rm -rf src/cartographer_ros