ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Global Path close to obstacles

asked 2021-12-07 11:00:20 -0500

zuy gravatar image

Hello folks, I use the Global Planner to produce path for my robot. How ever, the path is more likely to stay close to walls or obstacles, which is kinda odd. Anyone has experiment on tuning Global Planner? Can you give me some advide? Here are my parameters:

    visualize_potential: false
    cost_factor: 0.55 
    neutral_cost: 66 
    lethal_cost: 253 
    publish_potential: True
    use_dijkstra: true
    allow_unknown: false

Thank you all!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-12-07 13:00:36 -0500

Mike Scheutzow gravatar image

Are you using an inflation layer in your global costmap? This is usually how people prevent the global planner from choosing a path that is too close to an obstacle.

edit flag offensive delete link more


Yes, but I would prefer tuning the global planner than increasing the inflation radius of inflation layer. Do you have any suggestion? Thanks alot!

zuy gravatar image zuy  ( 2021-12-07 17:20:53 -0500 )edit

I'm not aware of any way to "tune" this with Global Planner parameters. You could implement a different algorithm in c++, or you can customize the global costmap to create regions with different costs.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-12-08 06:28:03 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2021-12-07 11:00:20 -0500

Seen: 130 times

Last updated: Dec 07 '21