Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 89

DWA planner failed to produce path

$
0
0
**UPDATE:** In the end this seems to be due to a strange interaction between our robot model and environment that seems to have only manifested under OS X. Thanks for all your help though. I am running hydro on OS X installed using Homebrew, but with the navigation stack updated to the latest version (`* hydro-devel 8824c44 fix robot_pose_ekf test`) from its GitHub (and a few other packages updated too). I am running simulated differential drive robot with a laser (a Scitos G5) in simulation (using MORSE). I have a map and the robot is well localised in it, but when I try to send it to a nav goal in RViz I repeatedly get the message `DWA planner failed to produce path.` ... until it gives up. A setup like this used to work for me, and a near-identical configuration of simulation and navigation is working fine for colleagues in the same team running Ubuntu 12.04. So something has changed in either my navigation configuration (which is maintained in a project that other people have been editing) or in my ROS install that has created this problem. The simulation setup is here: https://github.com/strands-project/strands_morse The navigation configuration is here: https://github.com/strands-project/scitos_2d_navigation/tree/hydro-devel/scitos_move_base_params If I publish to `/cmd_vel` the robot moves fine. In RViz the local and global cost maps are clear. Looking at the code (`dwa_planner_ros.cpp`) that produces this message it looks like it is being produced because a 0 or negative cost path is being produced. The following code is the conditional which returns false and ultimately leads to the message above. std::vector local_plan; if(path.cost_ < 0) { ROS_WARN("The dwa local planner failed to find a valid plan, cost functions discarded all candidates. This can mean there is an obstacle too close to the robot."); Given that I can't see any obstacles in the cost maps, I'm not sure what is causing this. So, please can anyone give me a hint about where else to look to try to find out what's causing this failure?

Viewing all articles
Browse latest Browse all 89

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>