ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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++.