This tutorial briefly covers how to control a robot over voice command. The user can control the robot using voice command and the robot acknowledges back to the user through a text-to-speech system, after executing the control action. E.g. Once the user ask the robot to "forward". The robot executes it and then sends a message over voice to the user saying the the "Requested action executed".
When i was trying to impliment the command " roslaunch voicecontrol turtlebot_voice_cmd.launch "
please go through the code
ajithbalakrishnan@ajithbalakrishnan-PC:$ cd catkin_ws/
ajithbalakrishnan@ajithbalakrishnan-PC:/catkin_ws$ source devel/setup.bash
ajithbalakrishnan@ajithbalakrishnan-PC:~/catkin_ws$ roslaunch voicecontrol turtlebot_voice_cmd.launch
[turtlebot_voice_cmd.launch] is neither a launch file in package [voicecontrol] nor is [voicecontrol] a launch file name
The traceback for the exception was written to the log file
i am using Ubuntu 16.04 and ROS KINETIC.
Directory is shown below.
ajithbalakrishnan@ajithbalakrishnan-PC:~/catkin_ws/src$ ls
beginner_tutorials pocketsphinx turtlebot-2-autonomous-navigation-master
Chefbot_ROS_pkg ros_robotics turtlebot-2-autonomous-navigation-master.zip
CMakeLists.txt ros-tutorial-voice
I run: roslaunch voicecontrol turtlebot_voice_cmd.launch
My error is:
FATAL_ERROR: "fe_sigproc.c", line 405: Failed to create filterbank, frequency range does not match. Sample rate 8000.000000, FFT size 512, lowerf 4765.625000 < freq -15.625000 > upperf 4218.750000.
[recognizer-1] process has died [pid 18392, exit code 255, cmd /home/Code/speech/catkin_ws/src/ros-tutorial-voice/src/recognizer.py __name:=recognizer __log:=/home/.ros/log/e224b5b4-e333-11e9-8f95-107b4493e94c/recognizer-1.log].
log file: /home/.ros/log/e224b5b4-e333-11e9-8f95-107b4493e94c/recognizer-1*.log