def register_service_raw(self, callback):
"""
Registers the service with a callback function.
:param callback: callback function to be executed when the service is called.
:return: service object.
"""
return rospy.Service(self.SERVICE_CHANNEL, self.service_class, callback)
评论列表
文章目录