From 3c51b228ec4d3f3223225142d3c13e485e01de52 Mon Sep 17 00:00:00 2001 From: HiepLM Date: Fri, 5 Dec 2025 16:01:50 +0700 Subject: [PATCH] a --- .../include/tf3_geometry_msgs/tf3_geometry_msgs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tf3_geometry_msgs/include/tf3_geometry_msgs/tf3_geometry_msgs.h b/tf3_geometry_msgs/include/tf3_geometry_msgs/tf3_geometry_msgs.h index 54eca5d..0b9d958 100755 --- a/tf3_geometry_msgs/include/tf3_geometry_msgs/tf3_geometry_msgs.h +++ b/tf3_geometry_msgs/include/tf3_geometry_msgs/tf3_geometry_msgs.h @@ -846,8 +846,8 @@ void doTransform(const geometry_msgs::PoseStamped& t_in, geometry_msgs::PoseStam * \param transform The timestamped transform to apply, as a TransformStamped message. * \return The transformed covariance matrix. */ -inline std::array -transformCovariance(const std::array& cov_in, const Transform& transform) +inline boost::array +transformCovariance(const boost::array& cov_in, const Transform& transform) { /** * To transform a covariance matrix: @@ -885,7 +885,7 @@ transformCovariance(const std::array& cov_in, const Transform& trans const tf3::Matrix3x3 result_22 = transform.getBasis()*cov_22*R_transpose; // form the output - std::array output; + boost::array output; output[0] = result_11[0][0]; output[1] = result_11[0][1]; output[2] = result_11[0][2];