/offline_map/undo_last_update#

Caution

This documentation page has been auto-generated.

It may be missing some details.

/offline_map/undo_last_update Quick Facts

Category

Navigation

Message type

pal_map_matcher/UseOfflineMap

Quick snippets#

Call the service from command-line#
$ rosservice call /offline_map/undo_last_update pal_map_matcher/UseOfflineMap
# (tip: press Tab to complete the message prototype)
Call the service from a Python script#
#!/usr/bin/env python

import rospy
from pal_map_matcher.srv import *


if __name__ == "__main__":

    rospy.wait_for_service("/offline_map/undo_last_update")

    try:
        proxy = rospy.ServiceProxy("/offline_map/undo_last_update", UseOfflineMap)
        response = proxy(args...) # check the pal_map_matcher/UseOfflineMap 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/undo_update

(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.