ros-controls / ros_control

Generic and simple controls framework for ROS
http://wiki.ros.org/ros_control
BSD 3-Clause "New" or "Revised" License
470 stars 307 forks source link

gethandle() error #467

Open EricWang1hitsz opened 4 years ago

EricWang1hitsz commented 4 years ago

hello, I created a new hardware interface and controller, when I run 'gethandle()', it errors.

Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/controller_manager/spawner", line 207, in <module>
    if __name__ == '__main__': main()
  File "/opt/ros/kinetic/lib/controller_manager/spawner", line 185, in main
    resp = load_controller(name)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 435, in __call__
    return self.call(*args, **kwds)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 525, in call
    raise ServiceException("transport error completing service call: %s"%(str(e)))
rospy.service.ServiceException: transport error completing service call: unable to receive data from sender, check sender's logs for details
[WARN] [1593422088.174780]: Controller Spawner error while taking down controllers: unable to connect to service: [Errno 111] Connection refused
bmagyar commented 4 years ago

This is just the spawner. Your new hw interface and controller probably crashed both the controller_manager and all around it.