neonavigation icon indicating copy to clipboard operation
neonavigation copied to clipboard

Visualize Global Path?

Open HappySamuel opened this issue 5 years ago • 2 comments

Hi

Is there a way to visualize the global path from robot pose to target goal, like the global path in navigation stack? So far i only found the local path that generated.

Best, Samuel

HappySamuel avatar Nov 18 '20 11:11 HappySamuel

planner_3d doesn't have a single path as global path from the start to the goal. But it calculates all paths to the goal from all possible positions as a distance map which is published to /planner_3d/debug when debug_mode parameter is "cost_estim".

Gradation in this snapshot is a distance_map in planner_cspace and the global path from any start is determined by following the most steepest gradient direction from the start.

at-wat avatar Jan 01 '21 00:01 at-wat

Hi @at-wat

Thanks for the explanation. I found the path generated via planner_3d is very feasible for the robot to track, better than navigation stack local planner. If i want to make use of your planner_3d to generate a local path from the navigation stack global planner, can help to advise a direction or steps to be done to achieve this?

Best, Samuel

HappySamuel avatar Jan 06 '21 16:01 HappySamuel