Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using with map (map.pgm or occupancy grid map) #89

Closed
muratkoc503 opened this issue Mar 6, 2023 · 2 comments
Closed

using with map (map.pgm or occupancy grid map) #89

muratkoc503 opened this issue Mar 6, 2023 · 2 comments

Comments

@muratkoc503
Copy link

muratkoc503 commented Mar 6, 2023

i want to use planner with map (map.pgm). How to use planner with map? Must i convert obstacles in Occupancy Grid Map to polygon? How i use this planner in real time? Thanks.

@rikba
Copy link
Collaborator

rikba commented Mar 13, 2023

Hi Murat

Yes, you would have to convert the Occupancy Grid Map to a polygon map somehow.

In general, you can set a new polygon via rosservice call /coverage_planner/set_polygon and plan a new path via rosservice call /coverage_planner/plan_path. However, this planner is intended for more of a static map. If you constantly update the map and the plan it will not really be continuous. Let's say you could update the plan probably once per room, but not with 5 Hz. If you have fast update rates, you probably want to use some spanning tree like algorithm that works on a discrete map.

@muratkoc503
Copy link
Author

thanks. i understood clearly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants