Ask Your Question

Revision history [back]

If you just want to make sure that it gets it once it starts, I suggest using a Publisher with a latched topic. That way, whenever amcl gets around to subscribing to the initialpose topic, as long as your node already has published it, amcl should get it.

See the roscpp docs for information on how to make a latched publisher in C++.