|
rosros 0.2.5
Simple unified interface to ROS1 / ROS2 Python API
|
Stand-in for `rospy.ServiceProxy`, wrapping the creation of ROS2 service client. More...

Public Member Functions | |
| __new__ (cls, name, service_class, persistent=None, headers=None) | |
| Returns rclpy.client.Client instance. | |
| __subclasshook__ (cls, C) | |
| Returns true if C is a ROS2 service client class, else `NotImplemented`. | |
Stand-in for `rospy.ServiceProxy`, wrapping the creation of ROS2 service client.
Definition at line 130 of file service.py.
| rosros.rospify.service.ServiceProxy.__new__ | ( | cls, | |
| name, | |||
| service_class, | |||
persistent = None, |
|||
headers = None |
|||
| ) |
Returns rclpy.client.Client instance.
| name | name of service to call |
| service_class | auto-generated service class |
| persistent | ignored (ROS1 compatibility stand-in) |
| headers | ignored (ROS1 compatibility stand-in) |
Definition at line 141 of file service.py.
| rosros.rospify.service.ServiceProxy.__subclasshook__ | ( | cls, | |
| C | |||
| ) |
Returns true if C is a ROS2 service client class, else `NotImplemented`.
Definition at line 145 of file service.py.