Main Page
Modules
Namespaces
Classes
Files
File List
File Members
src
ros
tts_module.cpp
Go to the documentation of this file.
1
#include "
tts/text_to_speech.h
"
2
#include <
ros/ros.h
>
3
#include <iostream>
4
5
#include "
ros/xbot_talker_ros.h
"
6
int
main
(
int
argc,
char
** argv)
7
{
8
setlocale(LC_ALL,
""
);
9
// 设置命令行帮助--help信息.
10
11
ros::init
(argc, argv,
"tts_sample"
);
12
13
14
TTSModuleRos
tts_ros;
15
tts_ros.
init
();
16
17
ros::spin
();
18
19
}
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
xbot_talker_ros.h
TTSModuleRos
Definition:
xbot_talker_ros.h:211
main
int main(int argc, char **argv)
Definition:
tts_module.cpp:6
text_to_speech.h
ros::spin
ROSCPP_DECL void spin()
ros.h
TTSModuleRos::init
bool init()
Definition:
xbot_talker_ros.cpp:944
xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:54