/play_motion_builder_node/run#

Caution

This documentation page has been auto-generated.

It may be missing some details.

/play_motion_builder_node/run Quick Facts

Category

Gestures and motions

Message type

play_motion_builder_msgs/RunMotion

Quick snippets#

Send a goal from the command-line#
$ rostopic pub /play_motion_builder_node/run/goal play_motion_builder_msgs/RunMotionActionGoal # press Tab to complete the message prototype
Call the action from a Python script#
#!/usr/bin/env python

import rospy
import actionlib
from play_motion_builder_msgs.msg import *


if __name__ == "__main__":

    client = actionlib.SimpleActionClient("/play_motion_builder_node/run", play_motion_builder_msgs.msg.RunMotionAction)
    client.wait_for_server()

    # check the play_motion_builder_msgs/RunMotionGoal message
    # definition for the possible goal parameters
    goal = play_motion_builder_msgs.msg.RunMotionGoal(param1=..., param2=...)

    client.send_goal(goal)
    client.wait_for_result()

    rospy.loginfo("Action returned: %s" % client.get_result())

REST endpoint#

You can also access this action from a webpage displayed on the robot’s touchscreen via this endpoint:

http://ari-0c/action/motion_builder_run

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