fix(*): frame id in ros node.
This commit is contained in:
parent
ecdc817a11
commit
4fa8bec7d4
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user