Merge branch 'release/v2.4.2' into develop

This commit is contained in:
TinyO 2019-09-12 11:32:55 +08:00
commit 80cce6923f

View File

@ -839,6 +839,7 @@ class ROSWrapperNodelet : public nodelet::Nodelet {
pthread_mutex_unlock(&mutex_data_); pthread_mutex_unlock(&mutex_data_);
auto &&info = getCameraInfo(stream); auto &&info = getCameraInfo(stream);
info->header.stamp = msg->header.stamp; info->header.stamp = msg->header.stamp;
info->header.frame_id = frame_ids_[stream];
camera_publishers_[stream].publish(msg, info); camera_publishers_[stream].publish(msg, info);
} }