Closed tongtybj closed 2 years ago
Also exclude theServiceClient
instance in unregistration process, otherwise following error will occur:
Traceback (most recent call last):
File "/root/ros/rosserial_ws/devel/lib/rosserial_python/serial_node.py", line 15, in <module>
exec(compile(fh.read(), python_script, 'exec'), context)
File "/root/ros/rosserial_ws/src/rosserial/rosserial_python/nodes/serial_node.py", line 72, in <module>
server.listen()
File "/root/ros/rosserial_ws/src/rosserial/rosserial_python/src/rosserial_python/SerialClient.py", line 251, in listen
self.startSerialClient()
File "/root/ros/rosserial_ws/src/rosserial/rosserial_python/src/rosserial_python/SerialClient.py", line 272, in startSerialClient
srv.unregister()
AttributeError: 'ServiceClient' object has no attribute 'unregister'
ServiceClient::call ()
does not have a virtual function inSubscriber_
, so remove theoverride
mark.