util::SimpleThreadSafeQueue< cogrob::cloud::speech::RecognitionResult > result_queue_
void AudioMsgCallback(const gcloud_speech_msgs::LinearPcm16Le16000Audio::ConstPtr &msg)
actionlib::SimpleActionServer< gcloud_speech_msgs::SpeechToTextAction > * simple_action_server_
std::atomic_bool is_active_
void ExecuteSpeechToTextAction(const gcloud_speech_msgs::SpeechToTextGoalConstPtr &goal)
cogrob::cloud::speech::AudioQueue audio_queue_
SpeechToTextActionHandler(cogrob::cloud::speech::GoogleSpeechRecognizerInterface *recognizer, actionlib::SimpleActionServer< gcloud_speech_msgs::SpeechToTextAction > *simple_action_server)
cogrob::cloud::speech::GoogleSpeechRecognizerInterface * recognizer_