0
$\begingroup$

Rosanswers logo

Hi all,

When MoveIt computes and executes a trajectory, it does the following steps:

  1. Compute the desired joints trajectories (i.e. the path)
  2. Publish the desired path on topic /move_group/display_planned_path
  • The desired is provided as a set of samples of desired joint angles
  1. Execute this desired path
  • In order to execute the path, the desired path samples are input into the joints controllers (arm_controller)

Do you know which topic is used to provide the controllers with the desired angles?

Thanks,

Antoine.


Originally posted by arennuit on ROS Answers with karma: 955 on 2014-08-12

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

This depends on your actual setup, but if you follow the most standard approach, you should have controllers specified as described here. You´ll thus probably want to check if controllers are set in the "config/controllers.yaml" file in your robot´s MoveIt! setup package. The standard controllers are commonly using a control_msgs/FollowJointTrajectory Action interface, so multiple topics are used for coordinated execution. One easy way of finding out what topics are actually used is doing a

rosnode info move_group

and inspecting the output, looking for trajectory related publishers. The other way is looking at the controllers.yaml file and figuring out the topic names from there (which requires consideration of namespaces in launch files etc.)


Originally posted by Stefan Kohlbrecher with karma: 24361 on 2014-08-13

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by arennuit on 2014-08-13:
Hi Stefan, it seems I am getting there, I believe the executed trajectory is in topic /arm_controller/follow_joint_trajectory/goal. This message contains all the trajectory points, can I assume that a desired trajectory point is sent to the controllers at each time step?

Comment by arennuit on 2014-08-13:
Also I am not sure I understand the notion of action interface. I have looked around but could not find an explanation. I noticed they are gathered in files like FollowJointTrajectory.action though I am not sure how they are used thereafter...

Comment by arennuit on 2014-08-13:
Ha! I think I get the action interface, it is detailed here: http://wiki.ros.org/actionlib/DetailedDescription. The first question on the timely basis the trajectory points are used still holds though ;)

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.