Ask Your Question
0

JointTrajectoryResult not defined?

asked 2011-06-23 17:12:44 -0500

liuhuanjim013 gravatar image

Hi,

I am trying to get the result of a JointTrajectoryAction. The my_joint_trajecotry_action_client.get_result() returns a message of type JointTrajectoryResult, but it has no meaningful fields. What's the right way to get the result of a JointTrajectoryAction?

Thanks!

Huan

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-06-23 17:55:51 -0500

Eric Perko gravatar image

I'm not familiar with using JointTrajectoryAction in particular, but according to the docs, the result is supposed to be empty. This means that you would use the state of the ActionClient to determine the result of your command to the controller. For example, some states that you could get (e.g. with my_joint_trajectory_action_client.get_state() ) could be GoalStatus.SUCCEEDED or GoalStatus.ABORTED. There are other states that you could get; see the actionlib docs for details.

edit flag offensive delete link more

Comments

Thanks Eric! This is exactly what I need :)
liuhuanjim013 gravatar image liuhuanjim013  ( 2011-06-23 18:11:33 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-06-23 17:12:44 -0500

Seen: 119 times

Last updated: Jun 23 '11