Skip to content

CureThomas/Palbator_devs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Palbator_devs

HRI python for Palbator, including Flask server and python client ( HRI Manager ), SpeechToText server and TextToSpeech server

Dependencies for MULTIPLEXER (FLASK server)

  • Sudo apt-get install python3-dev python3-pip
  • Sudo pip install flask
  • Sudo pip install -U flask-cors
  • Sudo pip install flask-socketio
  • Sudo apt-get install python-eventlet

Dependencies for HRI MANAGER (FLASK client)

  • Sudo pip install -U socketIO-client

Dependencies for ttsMimic

  • sudo apt-get install gcc make pkg-config automake libtool libicu-dev libpcre2-dev libasound2-dev git
  • git clone https://github.com/MycroftAI/mimic.git
  • cd mimic
  • ./autogen.sh
  • ./configure --prefix="/usr/local"
  • make -j4
  • make check
  • sudo make install

You can try Mimic using the command line : mimic -t "Hello world"

Launch ttsMimic

  • rosrun ttsMimic ttsMimicActionServer.py

Dependencies for speechToTextPalbator

  • sudo apt-get install -y python python-dev python-pip build-essential swig libpulse-dev git
  • sudo pip install pyttsx3
  • sudo apt-get install libasound-dev
  • sudo apt-get install python-pyaudio
  • sudo apt-get install swig
  • sudo pip install pocketsphinx

If there are issues with pyaudio, those command lines could solve them:

  • sudo pip uninstall pyaudio or sudo apt-get purge --auto-remove python-pyaudio
  • sudo apt-get install portaudio19-dev python-all-dev python3-all-dev && sudo pip install pyaudio

Test speechToTextPalbator

  • roslaunch speechToTextPalbator test_procedure.launch

Global launch : flask server + HRI + STT + TTS :

  • roslaunch HriManager hri_manager.launch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published