0.18.2: Added Odom/GuessSmoothingDelay parameter

This commit is contained in:
matlabbe
2018-11-21 11:57:04 -05:00
parent 5ae2f487b4
commit b862d6bc48
11 changed files with 184 additions and 63 deletions

View File

@@ -466,7 +466,14 @@ Transform OdometryF2M::computeTransform(
}
if(!regInfo.rejectedMsg.empty())
{
UWARN("Registration failed: \"%s\"", regInfo.rejectedMsg.c_str());
if(guess.isNull())
{
UWARN("Registration failed: \"%s\"", regInfo.rejectedMsg.c_str());
}
else
{
UWARN("Registration failed: \"%s\" (guess=%s)", regInfo.rejectedMsg.c_str(), guess.prettyPrint().c_str());
}
}
else
{