def call_service(self, **kwargs):
"""
Calls the service.
:param kwargs: Arguments of the service.
:return: Result of the service call.
"""
rospy.wait_for_service(self.SERVICE_CHANNEL)
return rospy.ServiceProxy(self.SERVICE_CHANNEL, self.service_class)(**kwargs)
# Create a list of all Services that are implemented
评论列表
文章目录