def main(): parser = argparse.ArgumentParser( description='Speak a single sentence from the CLI.') parser.add_argument('sentence', help='Sentence to speak out aloud.') args = parser.parse_args() rospy.init_node('pal_speak', anonymous=True) pal_hci.tts_speak(args.sentence)
def speak_message(line): pal_hci.tts_speak(line)
def speak_message(message): print message pal_hci.tts_speak(message)