Main Page
Modules
Namespaces
Classes
Files
File List
File Members
src
ros
asr_module.cpp
Go to the documentation of this file.
1
#include <
ros/ros.h
>
2
#include "
asr/xunfei/xfei_speech_recog.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
ros::init
(argc, argv,
"asr_sample"
);
10
ASRModuleRos
asr_ros;
11
asr_ros.
init
();
12
ros::spin
();
13
}
ASRModuleRos::init
bool init()
Definition:
xbot_talker_ros.cpp:13
ASRModuleRos
Definition:
xbot_talker_ros.h:21
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
ros::spin
ROSCPP_DECL void spin()
ros.h
main
int main(int argc, char **argv)
Definition:
asr_module.cpp:6
xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:53