No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.

ros_vosk package from vosk repo

ros_vosk

Package Summary

Tags No category tags.
Version 2.1.21
License Apache 2
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/alphacep/ros-vosk.git
VCS Type git
VCS Version master
Last Updated 2023-05-02
Dev Status UNMAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS wrapper for Vosk

Additional Links

Maintainers

  • Alpha Cephei Inc.
  • Angelo Antikatzidis

Authors

  • Angelo Antikatzidis.
  • Alpha Cephei Inc.

ros_vosk

A ROS package for speech-to-text services based on Vosk

Tutorials

  1. Install this package and vosk
  sudo apt install ros-${ROS_DISTRO}-ros-vosk

don't forget to run catkin_make

  1. Install Dependencies

If using ROS MELODIC run first:

  sudo apt install python3-pip python3-yaml

Then run for MELODIC & NOETIC:

  pip3 install sounddevice
  pip3 install vosk

And if you want to use the TTS engine please run:

  sudo apt install espeak
  pip install pyttsx3

  1. Launch the node

Launch the speech recognition node

  roslaunch ros_vosk ros_vosk.launch

or by running:

  rosrun ros_vosk vosk_node.py

Interface

Publishing Topics

  • speech_recognition/vosk_result -> vosk_node.py publishes a custom "speech_recognition" message
  • speech_recognition/final_result -> vosk_node.py publishes a simple string with the final result
  • speech_recognition/partial_result -> vosk_node.py publishes a simple string with the partial result
  • tts/status -> tts_engine.py publishes the state of the engine. True if it is speaking False if it is not. If the status is true vosk_node won't process the audio stream so it won't listen to itself
  • tts/phrase -> tts_engine.py subscribes to this topic in order to speak the given string. Name your desire and it shall be heard by all in the room..

Author

Angelo Antikatzidis an.antikatzidis@gmail.com Nickolay V. Shmyrev nshmyrev@gmail.com

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros_vosk at Robotics Stack Exchange

No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.