From 4fa8bec7d45c0de69327e2649c69a737c5db5ffd Mon Sep 17 00:00:00 2001 From: TinyO Date: Thu, 12 Sep 2019 11:01:23 +0800 Subject: [PATCH] fix(*): frame id in ros node. --- wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc b/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc index 1650a3b..44c0343 100644 --- a/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc +++ b/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc @@ -839,6 +839,7 @@ class ROSWrapperNodelet : public nodelet::Nodelet { pthread_mutex_unlock(&mutex_data_); auto &&info = getCameraInfo(stream); info->header.stamp = msg->header.stamp; + info->header.frame_id = frame_ids_[stream]; camera_publishers_[stream].publish(msg, info); }