mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
fix error in reg strategry checking (#918)
This commit is contained in:
@@ -209,7 +209,7 @@ private:
|
|||||||
{
|
{
|
||||||
//make sure we are using Reg/Strategy=0
|
//make sure we are using Reg/Strategy=0
|
||||||
ParametersMap::iterator iter = parameters.find(Parameters::kRegStrategy());
|
ParametersMap::iterator iter = parameters.find(Parameters::kRegStrategy());
|
||||||
if(iter != parameters.end() && iter->second.compare("0") != 0)
|
if(iter != parameters.end() && iter->second.compare("2") != 0)
|
||||||
{
|
{
|
||||||
ROS_WARN("RGBDICP odometry works only with \"Reg/Strategy\"=2. Ignoring value %s.", iter->second.c_str());
|
ROS_WARN("RGBDICP odometry works only with \"Reg/Strategy\"=2. Ignoring value %s.", iter->second.c_str());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user