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

Local planner stops working while global planner updates path

$
0
0
Hi together, I am facing a problem. I am using the sbpl planner from [this](https://github.com/MASKOR/maskor_navigation/tree/master/sbpl_lattice_planner) git as local planner and the [teb_local_planner](http://wiki.ros.org/teb_local_planner) as local planner. For the SBPL lattice planner I use the rover.mprim file just to try it out. After setting a goal, it tries to compute a path which works pretty good. But after driving a while the global planner updates its path which takes about 2-5 seconds. In the update time the local planner stops completely to send commands to my base controller (in this case a simulation). I actually don't know what I should do now. Should I search for the update interval of the global path and try to lower this (I dont think there is a parameter for this in the sbpl planner) or should I try to figure out why the local planner is stopping. Can you help me? #Edit 1 So after trying to look in the source code of the move_base node, I checked all the possibilities when the global planner is replanning. After setting my planner frequency to 0, there was just the possibility that the local planner isn't sending valid commands to the move_base node. So I started looking a bit deeper in it, and activating the debug logger level. Seeing some strange things. I just post here an output of my terminal and explain more after: [ WARN] [1465567966.222422432, 803.000000000]: Map update loop missed its desired rate of 5.0000Hz... the loop actually took 0.9290 seconds [DEBUG] [1465567966.569430695, 803.234000000]: TebOptimalPlanner::isHorizonReductionAppropriate(): Distance between consecutive poses > 0.9*min_obstacle_dist [ WARN] [1465567966.569510343, 803.234000000]: TebLocalPlannerROS: trajectory is not feasible, but the planner suggests a shorter horizon temporary. Complying with its wish for at least 10s... [DEBUG] [1465567966.636358038, 803.279000000]: New goal: distance to existing goal is higher than the specified threshold. Reinitalizing trajectories. [ WARN] [1465567966.688034070, 803.306000000]: TebLocalPlannerROS: trajectory is not feasible. Resetting planner... [ INFO] [1465567966.702152522, 803.320000000]: Move base is forcing 0,0,0 velocity cmd [ INFO] [1465567967.678576361, 803.920000000]: [SBPL] Here SPBL gets a new plan request Some of the output is generated by myself. After this output the global_planner is replanning. So I am seeing that all the time th TEB Planner says the trajectory is not feasible the global_planner trys to provide a new global plan, which could be feasible. Also noticing the teb planner is a most of the time in "short horizont" mode (dont know the exact name). As you can see in the debug log messages before and after he is switching to shorter horizont mode. Here is a picture of an example plan where all of this happens. ![image description](/upfiles/14655685794949813.png) [Here](http://pastebin.com/KNvmewsr) is a link to my teb_planner paramter file I hope this makes something clear

Viewing all articles
Browse latest Browse all 667

Trending Articles



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