atTC2 / leslie

UoB CS Intelligent Robotics Exercise 2
0 stars 1 forks source link

Get voice control working #49

Closed atTC2 closed 7 years ago

atTC2 commented 7 years ago

Speak to @rrama about Jasper and getting it going and using our own commands.

Chrystal-Gosden commented 7 years ago

Some useful links for reference http://wiki.ros.org/pocketsphinx http://jasperproject.github.io/documentation/ http://edu.gaitech.hk/turtlebot/speech-doc.html

sudo apt-get install -y gstreamer0.10-gconf
Chrystal-Gosden commented 7 years ago

Using following Tutorial: http://edu.gaitech.hk/turtlebot/speech-doc.html Have got sphinx working

Need to installed the following: sudo apt-get install gstreamer0.10-pocketsphinx sudo apt-get install ros-indigo-pocketsphinx sudo apt-get install ros-indigo-audio-common sudo apt-get install libasound2 Plus (IF error occurs): sudo apt-get install gstreamer0.10-gconf

rrama commented 7 years ago

To generate the .lm and .dic file, you can use http://www.speech.cs.cmu.edu/tools/ With a file like

reverse
you've crashed
you have crashed
go backwards
stop
go left
go right
Leslie
Chrystal-Gosden commented 7 years ago

Addition of branch 49_voice_control can now listen for table number and send number to state machine

Chrystal-Gosden commented 7 years ago

Addition of voice control to allow user to confirm the table they have selected Robot speaks error message when commands are not recognized Additions of state to allow the robot to ask different questions Code re-factored into separate functions