Skip to content

[ERROR] [1587108107.523421, 540.116000]: bad callback: <bound method SetInit.callback of <__main__.SetInit instance at 0x7fd43be90230>> #3

@zhang-cq

Description

@zhang-cq

When I tried PYSOT, after I draw the rectangle and pressed 's', I got these:

[ERROR] [1587108107.523421, 540.116000]: bad callback: <bound method SetInit.callback of <main.SetInit instance at 0x7fd43be90230>>
Traceback (most recent call last):
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "set_init.py", line 39, in callback
self.init_rect_service(self.x1, self.y1, self.x2, self.y2)
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 439, in call
return self.call(*args, **kwds)
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 519, in call
responses = transport.receive_once()
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 730, in receive_once
p.read_messages(b, msg_queue, sock)
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 357, in read_messages
self._read_ok_byte(b, sock)
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 340, in _read_ok_byte
raise ServiceException("service [%s] responded with an error: %s"%(self.resolved_name, str))
ServiceException: service [/init_rect] responded with an error: service cannot process request: handler returned invalid value: Invalid number of arguments, args should be [] args are(True,)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions