| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
service._Service --+
|
ServiceProxy
Create a handle to a ROS service for invoking calls.
Usage:
add_two_ints = ServiceProxy('add_two_ints', AddTwoInts)
resp = add_two_ints(1, 2)
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Properties | |
|
Inherited from |
| Method Details |
ctor.
|
Callable-style version of the service API. This accepts either a request message instance, or you can call directly with arguments to create a new request instance. e.g.: add_two_ints(AddTwoIntsRequest(1, 2)) add_two_ints(1, 2) add_two_ints(a=1, b=2)
|
Call the service. This accepts either a request message instance, or you can call directly with arguments to create a new request instance. e.g.: add_two_ints(AddTwoIntsRequest(1, 2)) add_two_ints(1, 2) add_two_ints(a=1, b=2)
|
Close this ServiceProxy. This only has an effect on persistent ServiceProxy instances. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Aug 28 12:33:28 2015 | http://epydoc.sourceforge.net |