-
Notifications
You must be signed in to change notification settings - Fork 47
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
Global costmap being cleared #152
Comments
its the clear costmaps recovery that also clears the global costmap. I guess it should be reloaded aftewards but it isn't all the time because of the loading global costmap issue move_base has. Does this happen all the time? I'll remove the clearance from the navigation recovery, this is pretty bad... |
Twice for now, will watch if it happens the next times too. |
anyway, it's clearly a bad idea having it in, at least until we are sure that move_base global costmap loading is working. i'm removing it now |
I think it's not (only?) the clearing. If I start the system with a no-go map, only the no-go map is used to create a costmap, and I get what you see in above pictures. If I start it without the costmap, the real map is correctly used to create a no-go map. |
every time you start it its not loaded? |
our no-go map is usually overlaying the original map so maybe there's an issue with the dual static map layer that we weren't aware of. From what I see your no-go only has the "no-go" obstacles right? |
Yeah, basically a frame around the building. It worked a few days ago as far as I can remember. |
this requires a deeper look into the issue then |
it never loads or is it only once in a while? |
I restarted it three times with no-go map off and three times with no-go map on. All the times no-go map was on, the global-costmap only had a halo around the no-go map; all the times no-go map was off, the global-costmap had a halo around the real map. |
all the times no-go map was off, the global-costmap had a halo around the real map. Is this really what you wanted to say? If so I'm confused |
I think so. More clearly:
|
ah ok, i misunderstood what you meant with "halo around" I'll look into it, the easy, non system intrusive fix for now is making your nogo map the nogo areas overlaying the map |
i dont really know when/if i'll have time for this before the marathon starts... |
Looking into it a bit myself, otherwise I'll workaround |
you said you remember it working before. were there any changes done to our move base stuff? |
I really don't know when it was last working because I never actively looked for it anymore after I've last verified it worked sometimes last week. More debugging: It's the inflation layer, which is only using the /cost_map, not the /map. Why, I don't know yet. |
http://wiki.ros.org/hydro/Migration#Navigation_-_Costmap2D I followed this when we migrated to hydro. Not sure of why I did it like that anyomre |
the lack of inflation layer for the map probably explains why the global planner finds plans through tiny holes in the map though |
I looked through all tutorials and it looks like the inflation layer should just work on the fully "rendered"/combined costmap, and not on an individual layer, so something is weird. I guess I'll work around for now since time is running out. |
Wasn't this exactly what @Jailander provided a fix for? |
i'll open an issue for later |
i dont recall anyone looking at costmap stuff lately but i might have missed it |
closing this, we have an open issue here: |
Probably I'm doing something wrong, but during backtrack behaviour the global costmap gets emptied somehow.
What you see in slightly darker gray is the costmap coming from the no-go map.
Output of the last time it happened:
The text was updated successfully, but these errors were encountered: