Commit 2f8e5cff authored by Niklas Yann Wettengel's avatar Niklas Yann Wettengel
Browse files

return if obstacle on path and stop_before_obstacle

parent a2f89c9c
......@@ -856,7 +856,10 @@ bool HomerNavigationNode::checkForObstacles()
ROS_DEBUG_STREAM("obstacle on path");
//Message stops the robot and triggers the targetUnreachableCallback of the drive_to_node.
return false;
if (m_seen_obstacle_before)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment