Fixes wstool invocation to match wstool docs. (#71)
* Simplifies CMake installation configuration.master
parent
0e15fb9a87
commit
337607692a
|
@ -1,2 +1,2 @@
|
||||||
- git: {local-name: src/cartographer, uri: 'https://github.com/googlecartographer/cartographer.git'}
|
- git: {local-name: 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_ros, uri: 'https://github.com/googlecartographer/cartographer_ros.git'}
|
||||||
|
|
|
@ -114,16 +114,8 @@ add_dependencies(time_conversion_test
|
||||||
${catkin_EXPORTED_TARGETS}
|
${catkin_EXPORTED_TARGETS}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(DIRECTORY launch/
|
install(DIRECTORY launch urdf configuration_files
|
||||||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch/
|
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
||||||
)
|
|
||||||
|
|
||||||
install(DIRECTORY urdf/
|
|
||||||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/urdf/
|
|
||||||
)
|
|
||||||
|
|
||||||
install(DIRECTORY configuration_files/
|
|
||||||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/configuration_files/
|
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS cartographer_node
|
install(TARGETS cartographer_node
|
||||||
|
|
|
@ -105,6 +105,6 @@ install(FILES rviz_plugin_description.xml
|
||||||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(DIRECTORY ogre_media/
|
install(DIRECTORY ogre_media
|
||||||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/ogre_media
|
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
||||||
)
|
)
|
||||||
|
|
|
@ -49,11 +49,11 @@ using `Ninja <https://ninja-build.org>`_.
|
||||||
# Create a new workspace in 'catkin_ws'.
|
# Create a new workspace in 'catkin_ws'.
|
||||||
mkdir catkin_ws
|
mkdir catkin_ws
|
||||||
cd catkin_ws
|
cd catkin_ws
|
||||||
wstool init
|
wstool init src
|
||||||
|
|
||||||
# Merge the cartographer_ros rosinstall file and fetch code for dependencies.
|
# 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 merge -t src https://raw.githubusercontent.com/googlecartographer/cartographer_ros/master/cartographer_ros.rosinstall
|
||||||
wstool update
|
wstool update -t src
|
||||||
|
|
||||||
# Install deb dependencies.
|
# Install deb dependencies.
|
||||||
rosdep update
|
rosdep update
|
||||||
|
|
|
@ -26,11 +26,11 @@ sudo apt-get install -y ninja-build
|
||||||
# Create a new workspace in 'catkin_ws'.
|
# Create a new workspace in 'catkin_ws'.
|
||||||
mkdir catkin_ws
|
mkdir catkin_ws
|
||||||
cd catkin_ws
|
cd catkin_ws
|
||||||
wstool init
|
wstool init src
|
||||||
|
|
||||||
# Merge the cartographer_ros rosinstall file and fetch code for dependencies.
|
# Merge the cartographer_ros.rosinstall file and fetch code for dependencies.
|
||||||
wstool merge ../cartographer_ros/cartographer_ros.rosinstall
|
wstool merge -t src ../cartographer_ros/cartographer_ros.rosinstall
|
||||||
wstool update
|
wstool update -t src
|
||||||
|
|
||||||
# Use the local version of cartographer_ros to include local modifications.
|
# Use the local version of cartographer_ros to include local modifications.
|
||||||
rm -rf src/cartographer_ros
|
rm -rf src/cartographer_ros
|
||||||
|
|
Loading…
Reference in New Issue