mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
Refactoring: Renamed rtabmap::Image to rtabmap::SensorData
removed keypoints and descriptors stuff from CameraEvent and Image/SensorData removed keypoints3 from Image/SensorData git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1653 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -1193,14 +1193,11 @@ Transform transformFromXYZCorrespondences(
|
||||
if(correspondencesInliers.size() == correspondences->size() && transform.isIdentity())
|
||||
{
|
||||
//Wrong transform
|
||||
UINFO("Wrong transform: identity");
|
||||
UDEBUG("Wrong transform: identity with full inliers");
|
||||
transform.setNull();
|
||||
if(inliers)
|
||||
{
|
||||
*inliers = 0;
|
||||
}
|
||||
}
|
||||
else if(inliers)
|
||||
|
||||
if(inliers)
|
||||
{
|
||||
*inliers = (int)correspondencesInliers.size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user