mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-07 10:37:47 +08:00
CI coverage: adding g2o, gtsam, ceres and libpointmatcher. (#1743)
* CI coverage: adding g2o, gtsam, ceres and libpointmatcher. Also fetch test data for integration tests. * ld * Increasing ci test timeout for coverage * Fixed tests when vertigo is not there * verbose tests * updating flaky test * faster coverage by extending unit tests and disable integration test (only for coverage report) * improving coverage of unit tests in comparison to integrations tests * fixing not covered new lines
This commit is contained in:
+12
-1
@@ -3850,7 +3850,12 @@ Transform Memory::computeIcpTransformMulti(
|
||||
guessNorm > fromScan.rangeMax() + toScan.rangeMax())
|
||||
{
|
||||
// stop right known,it is impossible that scans overlay.
|
||||
UINFO("Too far scans between %d and %d to compute transformation: guessNorm=%f, scan range from=%f to=%f", fromId, toId, guessNorm, fromScan.rangeMax(), toScan.rangeMax());
|
||||
const std::string rejected = uFormat("Too far scans between %d and %d to compute transformation: guessNorm=%f, scan range from=%f to=%f", fromId, toId, guessNorm, fromScan.rangeMax(), toScan.rangeMax());
|
||||
UINFO("%s", rejected.c_str());
|
||||
if(info)
|
||||
{
|
||||
info->rejectedMsg = rejected;
|
||||
}
|
||||
return t;
|
||||
}
|
||||
|
||||
@@ -3989,6 +3994,12 @@ Transform Memory::computeIcpTransformMulti(
|
||||
t = t.inverse();
|
||||
}
|
||||
}
|
||||
else if(info)
|
||||
{
|
||||
info->rejectedMsg = uFormat("Node %d (scan %s) or %d (scan %s) has no laser scan, cannot compute ICP transform.",
|
||||
fromId, fromScan.isEmpty()?"empty":"ok",
|
||||
toId, toScan.isEmpty()?"empty":"ok");
|
||||
}
|
||||
|
||||
return t;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user