talos_audio package from talos_audio repotalos_audio |
|
Package Summary
Tags | No category tags. |
Version | 1.0.5 |
License | TODO |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/openrobotics/talos_audio.git |
VCS Type | git |
VCS Version | indigo-devel |
Last Updated | 2015-07-22 |
Dev Status | DEVELOPED |
CI status | Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Devon Ash
Authors
Author: Devon Ash
Maintainer: noobaca2@gmail.com
Language tools found here: http://www.speech.cs.cmu.edu/tools/lmtool.html
This package contains the speech commands that the Talos robot accepts as a ROS service.
You must also install pocketsphinx and gstreamer0.10-conf.
sudo apt-get install pocketsphinx && gstreamer0.10-conf
To launch the listener: roslaunch talos_audio listener.launch
To launch the recognizer: roslaunch talos_audio recognizer.launch
To see what commands are accepted by the robot, open the file speech_commands.corpus:
roscd talos_audio
cd speech_dictionaries/simple_speech
cat speech_commands.corpus
To generate new commands, follow the tutorial at http://www.speech.cs.cmu.edu/tools/lmtool.html and replace the existing files inside the talos_audio ROS package.
Usage:
The listener should be brought up first and then the recognizer after. The listener listens to commands and then the recognizer program produces something when a command is detected.
the /say service, if called, will tell the robot what to say. For example, calling /say like:
rosservice call /say 'hi'
will output ‘hi’ from the speakers.
Calling the service /listen_for_all will tell the robot to be conscious for all of the dictionary words until it hears one of those words, upon which it will put whatever word it heard on the recognizer/output topic.
Example:
rosservice call listen_for_all devon ok
The recognizer/start function is called which waits until either ‘devon’ or ‘ok’ is heard. when it is heard, the word is then outputted to recognizer/output and recognizer/stop is called.
This should handle all of the voice recognition needed for Talos.
Changelog for package talos_audio
1.0.5 (2015-07-22)
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
roscpp | |
rospy | |
std_msgs | |
message_generation | |
message_runtime | |
catkin |
System Dependencies
Dependant Packages
Launch files
- launch/recognizer.launch
- Author: Devon Ash
-
- launch/listener.launch
- Author: Devon Ash
-