/play_motion_builder_node/edit_motion#

Caution

This documentation page has been auto-generated.

It may be missing some details.

/play_motion_builder_node/edit_motion Quick Facts

Category

Gestures and motions

Message type

play_motion_builder_msgs/EditMotion

Quick snippets#

Call the service from command-line#
$ rosservice call /play_motion_builder_node/edit_motion play_motion_builder_msgs/EditMotion
# (tip: press Tab to complete the message prototype)
Call the service from a Python script#
#!/usr/bin/env python

import rospy
from play_motion_builder_msgs.srv import *


if __name__ == "__main__":

    rospy.wait_for_service("/play_motion_builder_node/edit_motion")

    try:
        proxy = rospy.ServiceProxy("/play_motion_builder_node/edit_motion", EditMotion)
        response = proxy(args...) # check the play_motion_builder_msgs/EditMotion 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/motion_builder_edit

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