From 5266f54ea2b87f95f52513b8e428e07f7ef75c45 Mon Sep 17 00:00:00 2001 From: Matej Petrlik Date: Thu, 14 Dec 2023 14:06:46 +0100 Subject: [PATCH] fixed uninitialized translation in _att_only tfs --- include/transform_manager/tf_source.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/transform_manager/tf_source.h b/include/transform_manager/tf_source.h index 1847eb5d..6725d84b 100644 --- a/include/transform_manager/tf_source.h +++ b/include/transform_manager/tf_source.h @@ -447,6 +447,9 @@ class TfSource { tf_msg.header.stamp = msg->header.stamp; geometry_msgs::Pose pose; + pose.position.x = 0.0; + pose.position.y = 0.0; + pose.position.z = 0.0; pose.orientation = msg->quaternion; if (is_inverted_) {