fixed frame_id name

This commit is contained in:
Joe Dong
2023-12-28 15:00:30 +08:00
parent 884ca95872
commit 2cf72ca8b2
+1 -1
View File
@@ -541,7 +541,7 @@ void OBCameraNode::getParameters() {
camera_name_ + "_" + stream_name_[stream_index] + "_optical_frame";
param_name = stream_name_[stream_index] + "_optical_frame_id";
setAndGetNodeParameter(optical_frame_id_[stream_index], param_name, default_optical_frame_id);
depth_aligned_frame_id_[stream_index] = stream_name_[COLOR] + "_optical_frame";
depth_aligned_frame_id_[stream_index] = camera_name_ + "_" + stream_name_[COLOR] + "_optical_frame";
}
setAndGetNodeParameter(publish_tf_, "publish_tf", true);