Ask Your Question

Why are topics remapped when used with controllers?

asked 2015-02-09 06:21:16 -0500

arennuit gravatar image

updated 2015-02-09 06:22:42 -0500

Hi all,

When using the UR5 package from ROS industrial, there is a python script called which is used to generate a joint trajectory fed to the controllers. When this script is used remapping is used hence the command line for this script is the following:

./ follow_joint_trajectory:=arm_controller/follow_joint_trajectory

I have noticed that topics are often remapped when used with controllers. Is there any specific reason why?



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-02-09 06:57:37 -0500

dornhege gravatar image

The somewhat obvious reason would be: Because the script and the controller don't use the same action namespace. Why they don't use the same name is somewhat guess work that the creators can answer. One reason might be that there is not standard/default name and "it just happened".

For arm controllers a reason could be that a standard name isn't possible because there might be multi-arm robots, e.g. left and right. In that case I'd prefer a simple name like just follow_joint_trajectory to remap from.

edit flag offensive delete link more


Hum... It feels to me you are on the right track when you say it makes it possible to address different controllers with the same script. Thanks!

arennuit gravatar image arennuit  ( 2015-02-09 07:56:12 -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

1 follower


Asked: 2015-02-09 06:21:16 -0500

Seen: 132 times

Last updated: Feb 09 '15