pr2_controller_manager pr2_controller_manager list
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
rospy.wait_for_service('pr2_controller_manager/load_controller')
File "/opt/ros/fuerte/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", 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
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!
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: http://www.ros.org/wiki/joint_trajectory_action
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!
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.
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 http://gazebosim.org/wiki/Tutorials.