fix(ros): publish order

This commit is contained in:
TinyOh 2019-01-16 10:42:14 +08:00
parent 6fd94d6f00
commit c42534d719

View File

@ -412,7 +412,7 @@ class ROSWrapperNodelet : public nodelet::Nodelet {
} break; } break;
case Stream::RIGHT_RECTIFIED: { case Stream::RIGHT_RECTIFIED: {
if (is_published_[Stream::LEFT_RECTIFIED]) { if (is_published_[Stream::LEFT_RECTIFIED]) {
SetIsPublished(Stream::RIGHT_RECTIFIED); SetIsPublished(Stream::LEFT_RECTIFIED);
} }
if (is_published_[Stream::DISPARITY]) { if (is_published_[Stream::DISPARITY]) {
SetIsPublished(Stream::DISPARITY); SetIsPublished(Stream::DISPARITY);