ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Error getting controller list

asked 2017-08-28 10:14:43 -0600

Ian Gough gravatar image

When I attempt to get the list of controllers from the controller_manager in Kinetic, I get an error:

> rosrun controller_manager controller_manager list
Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/controller_manager/controller_manager", line 41, in <module>
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/controller_manager/", line 60, in list_controllers
    print '%s - %s ( %s )'%(, c.hardware_interface, c.state)
AttributeError: 'ControllerState' object has no attribute 'hardware_interface'

My knowledge of python is pretty shaky, but it looks like hardware_interface is not a member of c, but rather of c.claimed_resources. Anybody else seeing this error?

edit retag flag offensive close merge delete


I've come across it while attempting to troubleshoot another problem. Make any headway?

gkuehner gravatar image gkuehner  ( 2017-09-27 12:27:50 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-05-16 18:23:46 -0600

zultron gravatar image

I found the same problem. It looks like it's been fixed in this commit.

edit flag offensive delete link more

Question Tools



Asked: 2017-08-28 10:14:43 -0600

Seen: 429 times

Last updated: Aug 28 '17