shadow-robot/sr-visualization

motor reseter shows errors but works

Opened this issue · 0 comments

message comes at start, with left hand started in root namespace. The resetting function work but the message is RED and should not be there.

[ERROR] [WallTime: 1445967711.821071] bad callback: <bound method SrGuiMotorResetter.diagnostics_callback of <sr_gui_motor_resetter.motor_resetter.SrGuiMotorResetter object at 0x7ff6c804b050>>
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/topics.py", line 711, in _invoke_callback
    cb(msg)
  File "/home/guihomework/dev/catkin_ws_indigo_sr_restruct/src/sr_visualization/basic/sr_gui_motor_resetter/src/sr_gui_motor_resetter/motor_resetter.py", line 186, in diagnostics_callback
    for motor in self.motors:
AttributeError: 'SrGuiMotorResetter' object has no attribute 'motors'