In MoveIt where is the namespace of the follow_joint_trajectory defined?
I am having maybe a silly problem.
I define a MoveIt package for my UR3e robot for Gazebo simulation and it works fine. I define the controllers in simulation as leftarm_controller/follow_joint_trajectory
. However, now I am trying to set up the same MoveIt package for the real robot and the controller is loaded as scaled_pos_joint_traj_controller/follow_joint_trajectory
so I get the error:
[ WARN]: Waiting for leftarm_controller/follow_joint_trajectory to come up
[ERROR]: Action client not connected: leftarm_controller/follow_joint_trajectory
I checked all the moveit files of my package and couldn't figure out where is the move_group getting the follow_joint_trajectory namespace from.
I am using a workaround with the remap tag in the move_group as:
<remap if="$(arg real_robot)" from="leftarm_controller/follow_joint_trajectory" to="scaled_pos_joint_traj_controller/follow_joint_trajectory"/>
But I would really want to know where is the name of the controller defined.
Edit: This is my repository with the configuration that I am currently using with the workaround.