Revision 2e526a15 server/src/MiddlewareROS.cpp

View differences:

server/src/MiddlewareROS.cpp
93 93
}
94 94

  
95 95
//call a tts system to convert a string to an utterance
96
Utterance MiddlewareROS::tts_call(string text){
96
boost::shared_ptr<Utterance> MiddlewareROS::tts_call(string text){
97 97
    //double tts_timeout = 1.0; //seconds. DO NOT CHANGE THIS!
98 98

  
99
    Utterance utterance;
99
    boost::shared_ptr<Utterance> utterance(new Utterance());
100 100

  
101 101
    printf("> WARNING: ros tts call not implemented yet\n");
102 102

  
......
120 120

  
121 121
    printf("> done. got utterance (text=%s)\n",utterance.get_text().c_str());
122 122
    */
123

  
123 124
    return utterance;
124 125
}
125 126

  

Also available in: Unified diff