From 9bb8e3f4eb4767989f6ac4395c50d61b62b94ce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ola=20Chr=2E=20V=C3=A5ge?= <50892582+ovaag@users.noreply.github.com> Date: Sun, 19 Nov 2023 19:43:47 +0100 Subject: [PATCH] Cmakelists: Fix install directories (#258) * Fix install directories --------- Co-authored-by: Ussama Naal <606033+Samahu@users.noreply.github.com> --- CHANGELOG.rst | 4 ++-- CMakeLists.txt | 11 ++++++++++- package.xml | 4 ++-- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a49d2ddf..b22bb927 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,7 +8,7 @@ Changelog * added the ability to customize the published point clouds(s) to velodyne point cloud format and other common pcl point types. * ouster_image_nodelet can operate independently from ouster_cloud_nodelet. - +* install ouster-ros and ouster_client include directories in separate folders. ouster_ros v0.10.0 ================== @@ -80,7 +80,7 @@ ouster_ros(1) * added a no-bond option to the ``sensor.launch`` file * reduce the publish rate of imu tf transforms * implemented a new node named ``os_driver`` which combines the functionality of ``os_sensor``, - ``os_cloud`` and ``os_image`` into a single node. The new node can be launch via the new + ``os_cloud`` and ``os_image`` into a single node. The new node can be launch via the new ``driver.launch`` file. * introduced a new topic ``/ouster/scan`` which publishes ``sensor_msgs::LaserScan`` messages, the user can pick which beam to be used for the message through the ``scan_ring`` launch argument. diff --git a/CMakeLists.txt b/CMakeLists.txt index fb39ac9e..682048e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,10 +112,19 @@ install( ) install( - DIRECTORY ${_ouster_ros_INCLUDE_DIRS} + DIRECTORY include/ouster_ros/ DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION} ) +install( + DIRECTORY ouster-sdk/ouster_client/include/ouster/ + DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}/../ouster +) + +install( + DIRECTORY ouster-sdk/ouster_client/include/optional-lite/nonstd/ + DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}/../ouster/nonstd/ +) install( FILES LICENSE diff --git a/package.xml b/package.xml index 1dae94e2..ee3f8425 100644 --- a/package.xml +++ b/package.xml @@ -1,7 +1,7 @@ ouster_ros - 0.11.0 + 0.12.0 Ouster ROS driver ouster developers BSD @@ -24,7 +24,7 @@ libpcl-all-dev curl spdlog - + nodelet libjsoncpp message_runtime