This repository was archived by the owner on Jul 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -982,6 +982,8 @@ void K4AROSDevice::framePublisherThread()
982982 if (ci_mngr_rgb_->isCalibrated ())
983983 {
984984 rgb_raw_camera_info = depth_rect_camera_info = ci_mngr_rgb_->getCameraInfo ();
985+ rgb_raw_camera_info.header .frame_id = depth_rect_camera_info.header .frame_id = \
986+ calibration_data_.tf_prefix_ + calibration_data_.rgb_camera_frame_ ;
985987 }
986988 else
987989 {
@@ -992,6 +994,8 @@ void K4AROSDevice::framePublisherThread()
992994 if (ci_mngr_ir_->isCalibrated ())
993995 {
994996 depth_raw_camera_info = rgb_rect_camera_info = ir_raw_camera_info = ci_mngr_ir_->getCameraInfo ();
997+ depth_raw_camera_info.header .frame_id = rgb_rect_camera_info.header .frame_id = ir_raw_camera_info.header .frame_id = \
998+ calibration_data_.tf_prefix_ + calibration_data_.depth_camera_frame_ ;
995999 }
9961000 else
9971001 {
You can’t perform that action at this time.
0 commit comments