Accepting global pose even if adjusting it with odometry fails

This commit is contained in:
matlabbe
2017-05-24 14:36:35 -04:00
parent b6b5a1795e
commit 1cbff792fb
2 changed files with 12 additions and 6 deletions
+2 -2
View File
@@ -1043,7 +1043,7 @@ rtabmap::Transform getTransform(
}
catch(tf::TransformException & ex)
{
ROS_WARN("%s",ex.what());
ROS_WARN("(getting transform %s -> %s) %s", fromFrameId.c_str(), toFrameId.c_str(), ex.what());
}
return transform;
}
@@ -1080,7 +1080,7 @@ rtabmap::Transform getTransform(
}
catch(tf::TransformException & ex)
{
ROS_WARN("%s",ex.what());
ROS_WARN("(getting transform movement of %s according to fixed %s) %s", sourceTargetFrame.c_str(), fixedFrame.c_str(), ex.what());
}
return transform;
}