mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-11 03:59:53 +08:00
cleanup
This commit is contained in:
@@ -555,8 +555,7 @@ private:
|
|||||||
|
|
||||||
if(ptrDepth->image.type() == depth.type())
|
if(ptrDepth->image.type() == depth.type())
|
||||||
{
|
{
|
||||||
//if(i < 4)
|
ptrDepth->image.copyTo(cv::Mat(depth, cv::Rect(i*depthWidth, 0, depthWidth, depthHeight)));
|
||||||
ptrDepth->image.copyTo(cv::Mat(depth, cv::Rect(i*depthWidth, 0, depthWidth, depthHeight)));
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -556,8 +556,6 @@ private:
|
|||||||
|
|
||||||
rtabmap::StereoCameraModel stereoModel = rtabmap_conversions::stereoCameraModelFromROS(leftCameraInfos[i], rightCameraInfos[i], localTransform, stereoTransform);
|
rtabmap::StereoCameraModel stereoModel = rtabmap_conversions::stereoCameraModelFromROS(leftCameraInfos[i], rightCameraInfos[i], localTransform, stereoTransform);
|
||||||
|
|
||||||
std::cout << i << " " << stereoModel << std::endl;
|
|
||||||
|
|
||||||
if( stereoModel.baseline() == 0 &&
|
if( stereoModel.baseline() == 0 &&
|
||||||
alreadyRectified &&
|
alreadyRectified &&
|
||||||
!rightCameraInfos[i].header.frame_id.empty() &&
|
!rightCameraInfos[i].header.frame_id.empty() &&
|
||||||
@@ -590,8 +588,6 @@ private:
|
|||||||
stereoTransform.x(),
|
stereoTransform.x(),
|
||||||
stereoModel.localTransform(),
|
stereoModel.localTransform(),
|
||||||
stereoModel.left().imageSize());
|
stereoModel.left().imageSize());
|
||||||
|
|
||||||
std::cout << i << " B " << stereoModel << std::endl;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user