/pal_map_manager/rename_map
#
Caution
This documentation page has been auto-generated.
It may be missing some details.
/pal_map_manager/rename_map
Quick Facts
- Category
- Message type
Renames a given map
Quick snippets#
Call the service from command-line#
$ rosservice call /pal_map_manager/rename_map pal_navigation_msgs/RenameMap
# (tip: press Tab to complete the message prototype)
Call the service from a Python script#
#!/usr/bin/env python
import rospy
from pal_navigation_msgs.srv import *
if __name__ == "__main__":
rospy.wait_for_service("/pal_map_manager/rename_map")
try:
proxy = rospy.ServiceProxy("/pal_map_manager/rename_map", RenameMap)
response = proxy(args...) # check the pal_navigation_msgs/RenameMap message type for the expected arguments
rospy.loginfo(response)
except rospy.ServiceException as e:
rospy.logerror("Service call failed: %s" % e)
REST endpoint#
You can also access this service from a webpage displayed on the robot’s touchscreen via this endpoint:
http://ari-0c/service/rename_map
(replace ari-0c
by the serial number of your own robot).
See REST interface for the general documentation of the REST endpoints and code samples.