fix(ros): fixed error of no frame_id with image information
This commit is contained in:
parent
19ad46f2d2
commit
fc9507aa3e
|
@ -797,6 +797,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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user