看到一个好玩的东西,百度的语音识别,大家可以自己DIY一些小东西了。
参考:http://www.rosclub.cn/post-1032.html
1. 前面的下载,安装都没问题,故跳过不用理会。
2. 测试
下载之后:CMakeList.txt和packge.xml中需要修改,不然依赖无法满足。什么依赖可去了解一下ROS的文件系统。
里面所有的baidu_speech改为simple_voice.
以下是CmakeList.txt文件
cmake_minimum_required(VERSION 2.8.3)
project(simple_voice)
find_package(catkin REQUIRED COMPONENTS
rospy std_msgs message_generation
)
## Generate messages in the 'msg' folder
add_message_files(
FILES
TTS_message.msg
# Message2.msg
)
##Generate services in the 'srv' folder
# add