def get_service(self):
"""
Returns the service which then can be called.
!! Does not call the service.
:return: the service.
"""
rospy.wait_for_service(self.SERVICE_CHANNEL)
return rospy.ServiceProxy(self.SERVICE_CHANNEL, self.service_class)
评论列表
文章目录