Home | Tutorials | Wiki | Issues
Ask Your Question
0

Unable to load controller into parameter server

asked 2015-05-02 14:31:20 -0500

Cerin gravatar image

How do you load your controller via rosservice?

I'm trying to follow the ROS Control tutorial but I'm getting stuck at the step:

rosservice call /rrbot/controller_manager/load_controller "name: 'joint1_position_controller'"

which gives me the error:

ERROR: Service [/rrbot/controller_manager/load_controller] is not available.

Is there some step missing? If I try to run that while the two other roslaunch commands are still running, I get a different error:

ok: False
Exception in thread Thread-3 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
  File "/usr/lib/python2.7/threading.py", line 763, in run
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 154, in run
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'timeout'

If I try to re-run that, sometimes I only get the "ok: False" and no traceback. Does the "ok: False" still indicate an error?

What am I doing wrong?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-08-18 14:40:10 -0500

agoins gravatar image

Do you still have this problem? I had a similar issue when I was trying to use ros_control in Jade. My problem was that I did not have the package effort_controllers installed and so I could not create any controllers. Try calling the service /rrbot/controller_manager/list_controller_types to see if you have any controller types available. Also, you may need to add the namespace to the controller name:

rosservice call /rrbot/controller_manager/load_controller "name: '/rrbot/joint1_position_controller'"
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2015-05-02 14:31:20 -0500

Seen: 1,426 times

Last updated: Aug 18 '15