/motion_manager#

Caution

This documentation page has been auto-generated.

It may be missing some details.

/motion_manager Quick Facts

Category

Gestures and motions

Message type

pal_control_msgs/MotionManager

Quick snippets#

Send a goal from the command-line#
$ rostopic pub /motion_manager/goal pal_control_msgs/MotionManagerActionGoal # 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 pal_control_msgs.msg import *


if __name__ == "__main__":

    client = actionlib.SimpleActionClient("/motion_manager", pal_control_msgs.msg.MotionManagerAction)
    client.wait_for_server()

    # check https://github.com/pal-robotics/pal_msgs/tree/indigo-devel/pal_control_msgs/action/MotionManager.action
    # for the possible goal parameters
    goal = pal_control_msgs.msg.MotionManagerGoal(param1=..., param2=...)

    client.send_goal(goal)
    client.wait_for_result()

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