Public Member Functions | |
def | __init__ (self) |
def | audio_cb (self, _, audio) |
def | config_callback (self, config, level) |
def | on_shutdown (self) |
def | play_sound (self, key, timeout=5.0) |
def | recognize (self, audio) |
def | speech_recognition_srv_cb (self, req) |
def | spin (self) |
def | start_speech_recognition (self) |
Public Attributes | |
act_sound | |
args | |
audio | |
continuous | |
default_duration | |
dyn_srv | |
dynamic_energy_threshold | |
engine | |
language | |
listen_timeout | |
phrase_time_limit | |
pub | |
recognizer | |
signals | |
srv | |
stop_fn | |
Definition at line 94 of file speech_recognition_node.py.
def speech_recognition_node.ROSSpeechRecognition.__init__ | ( | self | ) |
Definition at line 95 of file speech_recognition_node.py.
def speech_recognition_node.ROSSpeechRecognition.audio_cb | ( | self, | |
_, | |||
audio | |||
) |
Definition at line 214 of file speech_recognition_node.py.
def speech_recognition_node.ROSSpeechRecognition.config_callback | ( | self, | |
config, | |||
level | |||
) |
Definition at line 133 of file speech_recognition_node.py.
def speech_recognition_node.ROSSpeechRecognition.on_shutdown | ( | self | ) |
Definition at line 238 of file speech_recognition_node.py.
def speech_recognition_node.ROSSpeechRecognition.play_sound | ( | self, | |
key, | |||
timeout = 5.0 |
|||
) |
Definition at line 172 of file speech_recognition_node.py.
def speech_recognition_node.ROSSpeechRecognition.recognize | ( | self, | |
audio | |||
) |
Definition at line 182 of file speech_recognition_node.py.
def speech_recognition_node.ROSSpeechRecognition.speech_recognition_srv_cb | ( | self, | |
req | |||
) |
Definition at line 242 of file speech_recognition_node.py.
def speech_recognition_node.ROSSpeechRecognition.spin | ( | self | ) |
Definition at line 292 of file speech_recognition_node.py.
def speech_recognition_node.ROSSpeechRecognition.start_speech_recognition | ( | self | ) |
Definition at line 228 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.act_sound |
Definition at line 104 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.args |
Definition at line 137 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.audio |
Definition at line 99 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.continuous |
Definition at line 122 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.default_duration |
Definition at line 96 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.dyn_srv |
Definition at line 119 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.dynamic_energy_threshold |
Definition at line 141 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.engine |
Definition at line 97 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.language |
Definition at line 135 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.listen_timeout |
Definition at line 151 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.phrase_time_limit |
Definition at line 155 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.pub |
Definition at line 125 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.recognizer |
Definition at line 98 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.signals |
Definition at line 108 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.srv |
Definition at line 129 of file speech_recognition_node.py.
speech_recognition_node.ROSSpeechRecognition.stop_fn |
Definition at line 121 of file speech_recognition_node.py.