/play_motion_builder_node/build#

Caution

This documentation page has been auto-generated.

It may be missing some details.

/play_motion_builder_node/build Quick Facts

Category

Gestures and motions

Message type

play_motion_builder_msgs/BuildMotion

Quick snippets#

Send a goal from the command-line#
$ rostopic pub /play_motion_builder_node/build/goal play_motion_builder_msgs/BuildMotionActionGoal # press Tab to complete the message prototype

How to use in your code#

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/build", play_motion_builder_msgs.msg.BuildMotionAction)
    client.wait_for_server()

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

    client.send_goal(goal)
    client.wait_for_result()

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