From 26ee5f99cf47d7bd018f062f766603df60f81c9a Mon Sep 17 00:00:00 2001 From: Jose Luis Blanco-Claraco Date: Fri, 18 Oct 2024 23:09:04 +0200 Subject: [PATCH] FIX: Detection of ROS1 --- apps/rosbag2rawlog/CMakeLists.txt | 6 +++++- doc/source/doxygen-docs/changelog.md | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/rosbag2rawlog/CMakeLists.txt b/apps/rosbag2rawlog/CMakeLists.txt index 546afa8b87..1d31182576 100644 --- a/apps/rosbag2rawlog/CMakeLists.txt +++ b/apps/rosbag2rawlog/CMakeLists.txt @@ -1,6 +1,10 @@ if(NOT TARGET ros1bridge) - return() + # Try to find it as an external project (needed for mrpt_ros package) + find_package(ros1bridge QUIET) + if(NOT TARGET ros1bridge) + return() + endif() endif() project(rosbag2rawlog) diff --git a/doc/source/doxygen-docs/changelog.md b/doc/source/doxygen-docs/changelog.md index 1e15e19cd9..1855145f2f 100644 --- a/doc/source/doxygen-docs/changelog.md +++ b/doc/source/doxygen-docs/changelog.md @@ -3,6 +3,7 @@ # Version 2.14.4: UNRELEASED - BUG FIXES: - mrpt::nav::CAbstractPTGBasedReactive: Missing heading information in recently-added TP-Space targets as TPose2D. + - rosbag2rawlog: Fix detection of mrpt-ros1bridge when built within mrpt_ros ROS packaging. # Version 2.14.3: Released Oct 12th, 2024 - Changes in libraries: