From 82249affed0b8e014dd8450199c2417b81bc7d99 Mon Sep 17 00:00:00 2001 From: elandini84 <62991576+elandini84@users.noreply.github.com> Date: Wed, 23 Jun 2021 18:23:07 +0200 Subject: [PATCH] little fix for frameTransformGet_nwc_ros --- src/devices/frameTransformGet/frameTransformGet_nwc_ros.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/frameTransformGet/frameTransformGet_nwc_ros.cpp b/src/devices/frameTransformGet/frameTransformGet_nwc_ros.cpp index 3e91e9bc547..29410d6d8f5 100644 --- a/src/devices/frameTransformGet/frameTransformGet_nwc_ros.cpp +++ b/src/devices/frameTransformGet/frameTransformGet_nwc_ros.cpp @@ -173,7 +173,7 @@ void FrameTransformGet_nwc_ros::receiveFrameTransforms() yarp::rosmsg::tf2_msgs::TFMessage* rosInData_static = nullptr; do { - rosInData_timed = m_rosSubscriberPort_tf_static.read(false); + rosInData_static = m_rosSubscriberPort_tf_static.read(false); if (rosInData_static != nullptr) { std::vector tfs = rosInData_static->transforms;