Functions | Variables
tts_node Namespace Reference

Functions

def do_speak (goal)
 
def do_synthesize (goal)
 
def finish_with_result (s)
 
def play (filename)
 

Variables

 server = actionlib.SimpleActionServer('tts', SpeechAction, do_speak, False)
 

Function Documentation

def tts_node.do_speak (   goal)
The action handler.

Note that although it responds to client after the audio play is finished, a client can choose
not to wait by not calling ``SimpleActionClient.waite_for_result()``.

Definition at line 82 of file tts_node.py.

def tts_node.do_synthesize (   goal)
calls synthesizer service to do the job

Definition at line 68 of file tts_node.py.

def tts_node.finish_with_result (   s)
responds the client

Definition at line 75 of file tts_node.py.

def tts_node.play (   filename)
plays the wav or ogg file using sound_play

Definition at line 63 of file tts_node.py.

Variable Documentation

tts_node.server = actionlib.SimpleActionServer('tts', SpeechAction, do_speak, False)

Definition at line 118 of file tts_node.py.



tts
Author(s): AWS RoboMaker
autogenerated on Fri Mar 5 2021 03:06:38