Exemplo n.º 1
0
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)
Exemplo n.º 2
0
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)
Exemplo n.º 3
0
def speak_message(line):
    pal_hci.tts_speak(line)
Exemplo n.º 4
0
def speak_message(message):
    print message
    pal_hci.tts_speak(message)
Exemplo n.º 5
0
def speak_message(message):
    print message
    pal_hci.tts_speak(message)