def handle_kill_msg(self, msg):
"""
ROS subscription handler the topic ``/needybot/speech/kill`` which
takes a ``std_msgs.Empty`` message type. Kills the internal sox
subprocess (stops playback).
:param: msg -- std_msgs.Empty message type
"""
if self.process:
self.process.kill()
评论列表
文章目录