mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Fixed rejected 180deg loop closure with multi-camera setup
This commit is contained in:
@@ -2957,7 +2957,9 @@ Transform Memory::computeTransform(
|
||||
transform = _registrationPipeline->computeTransformationMod(tmpFrom, tmpTo, guess, info);
|
||||
}
|
||||
|
||||
if(!transform.isNull())
|
||||
if(!transform.isNull() &&
|
||||
fromS.sensorData().cameraModels().size()<=1 &&
|
||||
toS.sensorData().cameraModels().size()<=1)
|
||||
{
|
||||
UDEBUG("");
|
||||
// verify if it is a 180 degree transform, well verify > 90
|
||||
|
||||
Reference in New Issue
Block a user