ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Ad 1) I didn't find this type of function in the code. You can call map_server every time you need it in another subscribed node, save it in that node, and then publish it at a frequency of your choice. You should not call the map service in the publisher callback(!).

Ad 2) I don't think it's a good practice, you should call a map service only when you need it because it puts unnecessary strain on the network.