/safe_arm_left_controller/follow_joint_trajectory#

Caution

This documentation page has been auto-generated.

It may be missing some details.

/safe_arm_left_controller/follow_joint_trajectory Quick Facts

Category

Gestures and motions

Message type

control_msgs/FollowJointTrajectory

Quick snippets#

Send a goal from the command-line#
$ rostopic pub /safe_arm_left_controller/follow_joint_trajectory/goal control_msgs/FollowJointTrajectoryActionGoal # 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 control_msgs.msg import *


if __name__ == "__main__":

    client = actionlib.SimpleActionClient("/safe_arm_left_controller/follow_joint_trajectory", control_msgs.msg.FollowJointTrajectoryAction)
    client.wait_for_server()

    # check http://docs.ros.org/en/api/control_msgs/html/action/FollowJointTrajectory.html
    # for the possible goal parameters
    goal = control_msgs.msg.FollowJointTrajectoryGoal(param1=..., param2=...)

    client.send_goal(goal)
    client.wait_for_result()

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