Ask Your Question

MoveIt: get current desired end effector pose

asked 2014-08-07 10:15:28 -0600

arennuit gravatar image

updated 2017-02-24 19:32:26 -0600

130s gravatar image

Hello there,

I am trying to get access to the current desired end effector's transform output by MoveIt (actually my goal is to compute the tracking error). My feeling is that I need to do the following steps:

  • Get the desired joint angles from MoveIt
  • Parse the urdf (to build a direct geometric model), or is there a package which computes the direct geometric model of the robot out of its urdf?
  • Compute the end effector's desired transform from the geometric model and the desired joint angles

Am I right?

Now a question more related to code:

I guess the desired joint angles are provided by moveit in topic /arm_controller/follow_joint_trajectory/goal, no? This topic is of type control_msgs/FollowJointTrajectoryActionGoal (api in ROS Kinetic). I also guess the trajectory is in field goal.trajectory.points.positions. fields points and positions are arrays: do you know how I should interpret them? Also does the fact that these are arrays mean that the whole desired trajectory is sent at one and not per small time steps?



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-02-24 19:34:03 -0600

130s gravatar image

Could be just English wording, but I guess by "desired" you mean "commanded", or the order MoveIt! sends to ROS network. If I'm right, then you basically get things right I think.

edit flag offensive delete link more



If 'commanded', then yes (although this would be at the level MoveIt<->controller, not controller<->hw). If 'current', then no.

gvdhoorn gravatar image gvdhoorn  ( 2017-02-25 03:51:37 -0600 )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

1 follower


Asked: 2014-08-07 10:15:28 -0600

Seen: 1,044 times

Last updated: Feb 24 '17