Main Page
Modules
Namespaces
Classes
Files
File List
File Members
src
ros
awaken_module.cpp
Go to the documentation of this file.
1
#include "
asr/xunfei/xfei_speech_recog.h
"
2
#include <
ros/ros.h
>
3
#include <iostream>
4
#include "
common_config.h
"
5
#include "
ros/xbot_talker_ros.h
"
6
int
main
(
int
argc,
char
** argv)
7
{
8
setlocale(LC_ALL,
""
);
9
10
ros::init
(argc, argv,
"awaken_sample"
);
11
12
AwakenModuleRos
awaken_ros;
13
awaken_ros.
init
();
14
ros::spin
();
15
}
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
xbot_talker_ros.h
xfei_speech_recog.h
科大讯飞语音识别模块接口头文件. TODO: 还需要添加版权、版本等信息
common_config.h
AwakenModuleRos
Definition:
xbot_talker_ros.h:179
ros::spin
ROSCPP_DECL void spin()
ros.h
main
int main(int argc, char **argv)
Definition:
awaken_module.cpp:6
AwakenModuleRos::init
bool init()
Definition:
xbot_talker_ros.cpp:842
xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:53