File tree Expand file tree Collapse file tree 6 files changed +7
-15
lines changed Expand file tree Collapse file tree 6 files changed +7
-15
lines changed Original file line number Diff line number Diff 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:
Original file line number Diff line number Diff line change 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". ``
Original file line number Diff line number Diff 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} )
7473endif ()
Original file line number Diff line number Diff line change 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
3024namespace mrpt ::ros2bridge
3125{
Original file line number Diff line number Diff line change 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:
5349tf2::Matrix3x3 mrpt::ros2bridge::toROS (const mrpt::math::CMatrixDouble33& src)
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments