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

Standalone converter should subscribe to costmap updates #1

Closed
sloretz opened this issue Oct 27, 2016 · 2 comments
Closed

Standalone converter should subscribe to costmap updates #1

sloretz opened this issue Oct 27, 2016 · 2 comments

Comments

@sloretz
Copy link

sloretz commented Oct 27, 2016

With the default behavior of costmap_2d, the standalone converter appears to do nothing. No polygon markers are published. This is because he standalone converter subscribes only to the topic /move_base/local_costmap/costmap

By default the costmap is published once on that topic, and then forever as updates on /move_base/local_costmap/costmap_updates. The static_layer in costmap_2d has an example of subscribing to updates

A workaround is to set the parameter always_send_full_costmap on the local_costmap to True.

@doisyg
Copy link

doisyg commented May 16, 2017

I would be interested to know more about this issue. I also subscribe do costmap_updates when using a standalone costmap.
Is there another possible mechanism for costmap updates? Like when everything is running in the same node I guess that's the costmap pointer which is passed?

@croesmann
Copy link
Member

thanks a lot. Fixed.
@doisyg: I am also not aware of any other mechanism in case everything is running in the same node. E.g. in the navigation stack, we have access to the costmap pointer as you said.

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

3 participants