How to force the robot to avoid restricted area.

asked 2020-12-03 22:00:24 -0500

Youssef_Lah gravatar image

updated 2020-12-04 16:00:34 -0500

Hi,

I've edited the map by GIMP to add kind of obstacles to force the robot to take a specific path before achieving the goal even if there is free space, but as we can see from the photo, the global planner (green line) is calculating the right path while the robot goes across the borders(added lines), anyone have a solution for such problem ?

Thanks

image description

Here is local costmap conf:

image description

Move_base node in move_base.launch

image description

edit retag flag offensive close merge delete

Comments

1

This most probably has to do with your costmap setup. Probably the local costmap is overwriting the global costmap. Please edit your question and add the relevant costmap launch and configuration files.

mgruhler gravatar image mgruhler  ( 2020-12-04 01:21:43 -0500 )edit

Hi, I've edited my question with required infos.

Youssef_Lah gravatar image Youssef_Lah  ( 2020-12-04 16:01:56 -0500 )edit

I asked a similar question a couple years ago. Take a look at the answers. I never circled back to finish the project but it is still on my list of things to do. https://answers.ros.org/question/2944...

billy gravatar image billy  ( 2020-12-04 19:28:56 -0500 )edit

please post code as text, not as images. Images are not searchable. Also, we'd need your full configuration, not only the local part. Add the costmap_common_params.yaml as well.

mgruhler gravatar image mgruhler  ( 2020-12-07 02:01:45 -0500 )edit

is there any update or improment about it? I have the same issue.

klchsyn gravatar image klchsyn  ( 2023-06-21 10:09:57 -0500 )edit