Xamla / torch-ros

Torch7/lua wrapper of roscpp via ffi.
http://www.xamla.com/
BSD 3-Clause "New" or "Revised" License
20 stars 5 forks source link

Persistent ServiceClient Connections #11

Closed robotsorcerer closed 7 years ago

robotsorcerer commented 7 years ago

I'm here again :laughing:

Does the ServiceClient API support roscpp persistent calls as described in the link?

If so, what's the API for setting it to true?

andreaskoepf commented 7 years ago

I have not explicitely tested them but the methods support the persistent argument. e.g. see NodeHandle:serviceClient(service_name, service_spec, persistent, header_values). You can also ask if a service client is persistent with ServiceClient:isPersistent().

robotsorcerer commented 7 years ago

I did test them and they work. Just so you know.