Ask Your Question

ROS-Gazebo Failed to load joint_state_controller

asked 2014-04-17 02:33:09 -0500

Il_Voza gravatar image

updated 2016-10-24 09:10:02 -0500

ngrennan gravatar image

Hello guys,

I'am following this tutorial about ROS Integration on Gazebo 1.9 ( ).

My issue is: As example I consider RRBot, when I type these commands:

roslaunch rrbot_gazebo rrbot_world.launch

to start simulation, and

roslaunch rrbot_control rrbot_control.launch

to load controllers, it gives me these errors:

[INFO] [WallTime: 1397731938.843439] [11.566000] Loading controller: joint_state_controller
[ERROR] [WallTime: 1397731939.851478] [12.570000] Failed to load joint_state_controller
[INFO] [WallTime: 1397731939.852413] [12.571000] Loading controller: joint1_position_controller
[ERROR] [WallTime: 1397731940.860462] [13.576000] Failed to load joint1_position_controller
[INFO] [WallTime: 1397731940.861270] [13.576000] Loading controller: joint2_position_controller
[ERROR] [WallTime: 1397731941.869383] [14.581000] Failed to load joint2_position_controller
[INFO] [WallTime: 1397731941.870228] [14.581000] Controller Spawner: Loaded controllers: 
[INFO] [WallTime: 1397731941.876315] [14.588000] Started controllers:

Then, if I type: rosservice call controller_manager/list_controller_types it gives me this error:

ERROR: Service [/controller_manager/list_controller_types] is not available.

How can I resolve? Thanks

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2014-07-31 09:11:39 -0500

Joao Luis gravatar image

I've got the same problem and I've figured it out how to solve it. You are having this problem cause you don't have installed the controllers. Just run these commands in your terminal:

sudo apt-get update

sudo apt-get install ros-indigo-ros-control ros-indigo-ros-controllers`

After that when you try to run the same commands you'll be able to control the arm of rrbot.

edit flag offensive delete link more

answered 2014-04-29 23:45:53 -0500

Dani C gravatar image

Check if the joint names (joint1,joint2) in your .yaml file and your .urdf.xacro match.

edit flag offensive delete link more

answered 2014-04-17 05:22:22 -0500

Adolfo Rodriguez T gravatar image

From this message:

ERROR: Service [/controller_manager/list_controller_types] is not available.

you either don't have a running controller_manager, or it's not in the root namespace. What does this return?

rosservice list | grep controller_manager
edit flag offensive delete link more




If the controller manager is running in the robot name space, what does it mean?

dpakshimpo gravatar image dpakshimpo  ( 2018-03-20 06:07:27 -0500 )edit

it either returns /controller_manager/load_controller or /<robot_name>/controller_manager/load_controller?

artemiialessandrini gravatar image artemiialessandrini  ( 2018-12-12 02:50:54 -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



Asked: 2014-04-17 02:33:09 -0500

Seen: 8,300 times

Last updated: Jul 31 '14