MsgConversion: fixed wrong right image output type. stereo_odometry: fixed rgbd_cameras param not initialized.

This commit is contained in:
matlabbe
2022-07-18 11:20:40 -04:00
parent ecf4d13984
commit 428091e4ca
3 changed files with 5 additions and 8 deletions
+2
View File
@@ -1267,6 +1267,8 @@ void CoreWrapper::commonMultiCameraCallbackImpl(
NODELET_ERROR("Could not convert rgb/depth msgs! Aborting rtabmap update...");
return;
}
UDEBUG("cameraModels=%ld stereoCameraModels=%ld", cameraModels.size(), stereoCameraModels.size());
UDEBUG("rgb=%dx%d(type=%d), depth/right=%dx%d(type=%d)", rgb.rows, rgb.cols, rgb.type(), depth.rows, depth.cols, depth.type());
if(stereoCameraModels.size() && stereoToDepth_)
{