Ask Your Question

pr2_controller_manager pr2_controller_manager list

asked 2013-02-05 09:37:03 -0600

MartinW gravatar image

Hello all,

When I execute:

rosrun pr2_controller_manager pr2_controller_manager list

Nothing happens, no info or warning messages, it just seems to hang. When I ctrl+c the operation I get this output:

 Traceback (most recent call last):
  File "/opt/ros/fuerte/stacks/pr2_mechanism/pr2_controller_manager/scripts/spawner", line 161, in <module>
    if __name__ == '__main__': main()
  File "/opt/ros/fuerte/stacks/pr2_mechanism/pr2_controller_manager/scripts/spawner", line 92, in main
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/rospy/impl/", line 158, in wait_for_service
    raise ROSInterruptException("rospy shutdown")
rospy.exceptions.ROSInterruptException: rospy shutdown
root@ubuntu:~# rosrun pr2_controller_manager pr2_controller_manager list

Anyone know what this could be from or referring to? Thanks in advance.

Kind Regards, Martin

edit retag flag offensive close merge delete


Hello Martin. I am now dealing the same problem as you had. The question is that, how do I use the Pr2_controller to move the base of my robot (non-pr2)? Do I have to include it as a plugin for Gazebo or what? Please help! Much appreciated!

Gazer gravatar image Gazer  ( 2013-05-26 15:47:30 -0600 )edit

Hello Gazer, I found that I did not need the plugin. However, I am using the Warehouse Viewer and ArmNavWizard to control my (non-pr2) robot's arms and not the base (which may use Gazebo?). To get my robot to work I had to set up the action servers:

MartinW gravatar image MartinW  ( 2013-05-28 13:17:22 -0600 )edit

Basically, one of my programs sets up a joint_trajectory_action client that interacts with the left or right arm joint_trajectory_action server. The server then sends /commands to my robot-specific hardware driver. I hope this helps. I haven't learned much in the way of navigation, yet :) Cheers!

MartinW gravatar image MartinW  ( 2013-05-28 13:22:03 -0600 )edit

thank you very much! So I guess you didn't use the Pr2_controller or you didn't write any controller for your robot then? which tutorials do you recommend me to look at? I want to do it in Gazebo.

Gazer gravatar image Gazer  ( 2013-05-28 13:50:34 -0600 )edit

Hey Gazer, sorry for the late reply I was away on vacation. I only used the controllers built into the control boards of my specific robot. They are OK, but I may need to write my own later on. If you are still looking for tutorials I think you can find some at

MartinW gravatar image MartinW  ( 2013-06-26 12:54:00 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-02-06 06:57:22 -0600

It seems that you didn't have any PR2 controller running when you executed the command.

You can launch the PR2 first

roslaunch pr2_gazebo pr2_empty_world.launch

Then execute the command, For example

rosfuerte@rosfuerte-K53SM:~$ rosrun pr2_controller_manager pr2_controller_manager list
base_controller ( running )
base_odometry ( running )
head_traj_controller ( running )
l_arm_controller ( running )
l_gripper_controller ( running )
laser_tilt_controller ( running )
r_arm_controller ( running )
r_gripper_controller ( running )
torso_controller ( running )
edit flag offensive delete link more


Using that launch command starts the pr2 controllers, how do I launch my own controllers for a non-pr2 robot?

MartinW gravatar image MartinW  ( 2013-02-06 07:14:37 -0600 )edit

Hey Ricky, I think I do have a controller running. My rostopic echo /l_arm_controller/joint_trajectory_action/status is publishing an empty status list. I am using the action controller shown in my question here:

MartinW gravatar image MartinW  ( 2013-02-06 10:56:13 -0600 )edit

Even after launching pr2 first pr2_controller_manager don't seem to ouput anything

Riss69 gravatar image Riss69  ( 2019-08-11 13:49:06 -0600 )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: 2013-02-05 09:37:03 -0600

Seen: 412 times

Last updated: Feb 06 '13