From c42534d719b3c6d131666472079f6022786aa7a9 Mon Sep 17 00:00:00 2001 From: TinyOh Date: Wed, 16 Jan 2019 10:42:14 +0800 Subject: [PATCH] fix(ros): publish order --- wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 fd433e8..b9d7102 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 @@ -412,7 +412,7 @@ class ROSWrapperNodelet : public nodelet::Nodelet { } break; case Stream::RIGHT_RECTIFIED: { if (is_published_[Stream::LEFT_RECTIFIED]) { - SetIsPublished(Stream::RIGHT_RECTIFIED); + SetIsPublished(Stream::LEFT_RECTIFIED); } if (is_published_[Stream::DISPARITY]) { SetIsPublished(Stream::DISPARITY);