Rosanswers logo

Hi Everyone,

I am working on designing a custom robot, and getting it to work with a existing controller (namely the Joint Trajectory Action Controller).

The procedure I followed is as follows:

  1. I created a URDF file corresponding to the model.
  2. I created .yaml files to configure the controller for various joints in my system.
  3. I created launch files that would start the pr2_controller_manager, and then spawn the necessary yaml files as suggested in the PR2 Controller Tutorials (section 5.1 and 5.2).
  4. Finally, I first loaded the .urdf file to the param server (as a textfile argument). After this, I loaded the model in gazebo, and then ran the launch files mentioned in point 3 above.

Here are my observations:

  1. Everything runs fine until the controllers are to be loaded and started.
  2. I get no messages about whether any of my custom_joint_controllers are loaded/started.
  3. When I try and list the loaded controllers on the pr2_controller_manager, I get no output (basically, it looks like the controllers are not loaded).
  4. When I inserted a general PR2_Arm model to the gazebo world using the GUI, I got the following error: [ERROR] [1415062744.160051303, 65.157000000]: A joint named "custom_joint" is not part of Mechanism Controlled joints. for each of my custom_joints, and then all the controllers loaded and started running.

Can anyone help me in diagnosing what could be wrong here? (I'm slightly new to ROS, so this matter could be absolutely trivial, but since I didn't find any threads that talked about this, I decided to post a new thread.)

Thanks a lot!

Originally posted by yashc on ROS Answers with karma: 36 on 2014-11-03

Post score: 2

Original comments

Comment by yashc on 2014-11-04:
Could it be because my URDF model doesn't seem to have the blocks specified in this tutorial?


1 Answer 1


Rosanswers logo

I sorted out the issue by myself. The command that was used to convert URDF files to SDF, was not including the element that included the plugin I was using.

Originally posted by yashc with karma: 36 on 2014-11-04

This answer was ACCEPTED on the original site

Post score: 0


Your Answer

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