Public Member Functions | Public Attributes | List of all members
speech_recognition_node.ROSSpeechRecognition Class Reference
Inheritance diagram for speech_recognition_node.ROSSpeechRecognition:
Inheritance graph
[legend]

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
 

Detailed Description

Definition at line 112 of file speech_recognition_node.py.

Constructor & Destructor Documentation

def speech_recognition_node.ROSSpeechRecognition.__init__ (   self)

Definition at line 113 of file speech_recognition_node.py.

Member Function Documentation

def speech_recognition_node.ROSSpeechRecognition.audio_cb (   self,
  _,
  audio 
)

Definition at line 238 of file speech_recognition_node.py.

def speech_recognition_node.ROSSpeechRecognition.config_callback (   self,
  config,
  level 
)

Definition at line 153 of file speech_recognition_node.py.

def speech_recognition_node.ROSSpeechRecognition.on_shutdown (   self)

Definition at line 266 of file speech_recognition_node.py.

def speech_recognition_node.ROSSpeechRecognition.play_sound (   self,
  key,
  timeout = 5.0 
)

Definition at line 192 of file speech_recognition_node.py.

def speech_recognition_node.ROSSpeechRecognition.recognize (   self,
  audio 
)

Definition at line 204 of file speech_recognition_node.py.

def speech_recognition_node.ROSSpeechRecognition.speech_recognition_srv_cb (   self,
  req 
)

Definition at line 270 of file speech_recognition_node.py.

def speech_recognition_node.ROSSpeechRecognition.spin (   self)

Definition at line 320 of file speech_recognition_node.py.

def speech_recognition_node.ROSSpeechRecognition.start_speech_recognition (   self)

Definition at line 256 of file speech_recognition_node.py.

Member Data Documentation

speech_recognition_node.ROSSpeechRecognition.act_sound

Definition at line 124 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.args

Definition at line 157 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.audio

Definition at line 117 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.continuous

Definition at line 142 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.default_duration

Definition at line 114 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.dyn_srv

Definition at line 139 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.dynamic_energy_threshold

Definition at line 161 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.engine

Definition at line 115 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.language

Definition at line 155 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.listen_timeout

Definition at line 171 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.phrase_time_limit

Definition at line 175 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.pub

Definition at line 145 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.recognizer

Definition at line 116 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.signals

Definition at line 128 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.srv

Definition at line 149 of file speech_recognition_node.py.

speech_recognition_node.ROSSpeechRecognition.stop_fn

Definition at line 141 of file speech_recognition_node.py.


The documentation for this class was generated from the following file:


ros_speech_recognition
Author(s): Yuki Furuta
autogenerated on Tue May 11 2021 02:55:47