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

Error getting controller list

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

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>
    controller_manager_interface.list_controllers()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/controller_manager/controller_manager_interface.py", line 60, in list_controllers
    print '%s - %s ( %s )'%(c.name, 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

Comments

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

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

1 Answer

Sort by ยป oldest newest most voted
0

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

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

2 followers

Stats

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

Seen: 436 times

Last updated: Aug 28 '17