/tiago_tts

A tiago package for communicating with the tiago tts action server

Primary LanguagePython

Tiago TTS Package for SciRoc2EP1

This is a package containing all the required packages and dependencies of the Tiago tts package. The packages were gotten from two repositories, one is the Pal Robotics official Github pages (Pal Robotics Tiago tutorial) and a Tiago tts dependent package called soundplay from ROS Device Driver GitHub page (Audio Common). The packages are put together in this repository merely for convenience reasons. For More information about this packages, visit their ROS Wiki at sound_play and Pal Text to Speech. Below is the instruction for compiling and launching the package successfully.

How to Compile

  • First, update the apt
apt update # sudo is not required for docker container
  • Clone this repository into the src folder of the workspace
git clone https://github.com/Omotoye/tiago_tts.git
  • Initialize rosdep
rosdep init
rosdep update
  • Use rosdep to get all the required dependencies of all the packages in the workspace
rosdep install --from-paths src --ignore-src -r -y # run this command in the working directory of the workspace
  • run catkin build to build the packages.
catkin build

How to Launch

You can try out some of the tutorials from the tiago_tutorial package.

The tutorial consists of two versions. The main version uses a GUI to allow the user to send strings for speech and visualize the feedback and result sent by the action server. To run this version launch the file without an extra argument

roslaunch tts tts.launch

The second version simply uses the terminal to display the same information and as input. To launch add the type argument

roslaunch tts tts.launch type:=terminal

Follow the prompt to send the action goal.

Refer to the wiki page for more information