Skip to content

speech_synthesizer

Rodrigo Serra edited this page Nov 28, 2023 · 1 revision

Speech Synthesizer

On PC2 Launch the espeak ros wrapper by using the following command :

roslaunch mbot_text_to_speech text_to_speech.launch

Publish the string that you want the robot to speak by doing :

rostopic pub /hri/say std_msgs/String "data: 'hello world'"

You can adjust volume, gender, pitch etc. by using dynamic reconfigure (the espeak node must be running) :

rosrun rqt_reconfigure rqt_reconfigure

Clone this wiki locally