mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-13 04:59:50 +08:00
Updated error msg when graph cannot be computed from id
This commit is contained in:
@@ -1553,9 +1553,16 @@ void CoreWrapper::goalCommonCallback(
|
|||||||
ROS_ERROR("Planning: Node with label \"%s\" not found!", label.c_str());
|
ROS_ERROR("Planning: Node with label \"%s\" not found!", label.c_str());
|
||||||
}
|
}
|
||||||
else if(pose.isNull())
|
else if(pose.isNull())
|
||||||
|
{
|
||||||
|
if(id > 0)
|
||||||
|
{
|
||||||
|
ROS_ERROR("Planning: Could not plan to node %d! The node is not in map's graph (look for warnings before this message for more details).", id);
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
ROS_ERROR("Planning: Node id should be > 0 !");
|
ROS_ERROR("Planning: Node id should be > 0 !");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ROS_ERROR("Planning: A node near the goal's pose not found! The pose may be to far from the graph (RGBD/LocalRadius=%f m)", rtabmap_.getLocalRadius());
|
ROS_ERROR("Planning: A node near the goal's pose not found! The pose may be to far from the graph (RGBD/LocalRadius=%f m)", rtabmap_.getLocalRadius());
|
||||||
|
|||||||
Reference in New Issue
Block a user