How to force the robot to avoid restricted area.
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
Here is local costmap conf:
Movebase node in movebase.launch
Asked by Youssef_Lah on 2020-12-03 23:00:24 UTC
Comments
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.
Asked by mgruhler on 2020-12-04 02:21:43 UTC
Hi, I've edited my question with required infos.
Asked by Youssef_Lah on 2020-12-04 17:01:56 UTC
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/294462/nav-stack-one-map-for-amcl-and-one-for-move_base/
Asked by billy on 2020-12-04 20:28:56 UTC
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.Asked by mgruhler on 2020-12-07 03:01:45 UTC
is there any update or improment about it? I have the same issue.
Asked by klchsyn on 2023-06-21 10:09:57 UTC