Skip to content

Commit 6d8b4f4

Browse files
committed
Merge branch 'develop'
2 parents 5db1ec1 + 482d21f commit 6d8b4f4

File tree

6 files changed

+7
-15
lines changed

6 files changed

+7
-15
lines changed

cmakemodules/script_ros.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ if (NOT DISABLE_ROS)
146146
# Convert package versions to hex so they can be used in preprocessor for wider
147147
# versions compatibility of "one-source for all":
148148
mrpt_version_to_hex(cv_bridge_VERSION cv_bridge_VERSION_HEX)
149-
mrpt_version_to_hex(tf2_VERSION tf2_VERSION_HEX)
150149

151150

152151
# Kinda hack to prevent build farm to time out for "dev" jobs:

doc/source/doxygen-docs/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
\page changelog Change Log
22

3+
# Version 2.14.11: Released May 31rd, 2025
4+
- BUG FIXES:
5+
- Fix build against all tf2 versions in all active ROS 2 distributions.
6+
37
# Version 2.14.10: Released May 23rd, 2025
48
- BUG FIXES:
59
- Fix build in ROS rolling: ``Unknown CMake command "ament_target_dependencies".``

libs/ros2bridge/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,4 @@ if(BUILD_mrpt-ros2bridge)
7070
target_compile_definitions(ros2bridge PRIVATE ${ROS_DEFINITIONS})
7171
target_compile_definitions(ros2bridge PRIVATE IS_MRPT_ROS2BRIDGE)
7272
target_compile_definitions(ros2bridge PRIVATE CV_BRIDGE_VERSION=${cv_bridge_VERSION_HEX})
73-
target_compile_definitions(ros2bridge PRIVATE TF2_VERSION=${tf2_VERSION_HEX})
7473
endif()

libs/ros2bridge/include/mrpt/ros2bridge/pose.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,11 @@
1515
#include <mrpt/math/TPose3D.h>
1616
#include <mrpt/poses/poses_frwds.h>
1717

18-
#if TF2_VERSION >= 0x004201
19-
#include <tf2/LinearMath/Matrix3x3.hpp>
20-
#include <tf2/LinearMath/Transform.hpp>
21-
#else
22-
#include <tf2/LinearMath/Matrix3x3.h>
23-
#include <tf2/LinearMath/Transform.h>
24-
#endif
25-
2618
#include <cstring> // size_t
2719
#include <geometry_msgs/msg/pose_with_covariance.hpp>
2820
#include <geometry_msgs/msg/quaternion.hpp>
21+
#include <tf2/LinearMath/Matrix3x3.hpp>
22+
#include <tf2/LinearMath/Transform.hpp>
2923

3024
namespace mrpt::ros2bridge
3125
{

libs/ros2bridge/src/pose.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,7 @@
4343
#include <mrpt/poses/CPosePDFGaussianInf.h>
4444
#include <mrpt/ros2bridge/pose.h>
4545

46-
#if TF2_VERSION >= 0x004201
4746
#include <tf2/LinearMath/Matrix3x3.hpp>
48-
#else
49-
#include <tf2/LinearMath/Matrix3x3.h>
50-
#endif
5147

5248
// MRPT -> ROS functions:
5349
tf2::Matrix3x3 mrpt::ros2bridge::toROS(const mrpt::math::CMatrixDouble33& src)

version_prefix.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
2.14.10
1+
2.14.11
22
# IMPORTANT: This file is parsed by CMake, don't add any comment to
33
# the first line.
44
# This file is used in both Windows and Linux scripts to automatically

0 commit comments

Comments
 (0)