diff --git a/src/tts_module.cpp b/src/tts_module.cpp index def71677441d284fd97df2c4d0cbc7665691d762..6ac16e3adb5bb0e6f97bff1f4da3d18dd879c33b 100644 --- a/src/tts_module.cpp +++ b/src/tts_module.cpp @@ -2,7 +2,7 @@ CTTSModule::CTTSModule(const std::string &name,const std::string &name_space) : CModule(name,name_space), - tts_action("tts",name) + tts_action("tts",this->module_nh.getNamespace()) { this->start_operation(); @@ -39,6 +39,7 @@ void CTTSModule::state_machine(void) ROS_WARN("CTTSModule : goal start pending"); break; case ACT_SRV_FAIL: this->state=TTS_MODULE_IDLE; + this->status=TTS_MODULE_ACTION_START_FAIL; ROS_ERROR("CTTSModule: goal start failed"); break; }