picovoice-ros repository

Repository Summary

Checkout URI https://github.com/reinzor/picovoice_ros.git
VCS Type git
VCS Version main
Last Updated 2021-04-06
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Packages

Name Version
picovoice_driver 0.0.3
picovoice_msgs 0.0.3

README

Picovoice ROS

This repository contains drivers and ROS interfaces for the Picovoice libraries. Input files can be managed via the Picovoice console.

Installation

roscd && cd ../src  # Navigate to the 'src' dir of your catkin workspace 
git clone https://github.com/reinzor/picovoice_ros.git
cd picovoice_ros
rosdep install --from-path -y -i .
catkin_make  # Compile workspace (or catkin build)

Examples

Start a roscore:

roscore

Keyword recognition (Porcupine)

Start the porcupine recognizer from the picovoice_driver package

rosrun picovoice_driver picovoice_driver_porcupine

Start the axclient in order to evaluate the action interface of the driver

rosrun actionlib_tools axclient.py /get_keyword  # ros-noetic-actionlib-tools (for earlier distro's it should be included in the 'actionlib` package)

Set the following as Goal

keywords: [{
  name: "porcupine",
  url: "porcupine_linux"
}]

press SEND GOAL, and say "Porcupine"

porcupine

Intent recognition (Rhino)

Start the rhino recognizer from the picovoice_driver package

rosrun picovoice_driver picovoice_driver_rhino

Start the axclient in order to evaluate the action interface of the driver

rosrun actionlib_tools axclient.py /get_intent  # ros-noetic-actionlib-tools (for earlier distro's it should be included in the 'actionlib` package)

Set the following as Goal

context_url: 'coffee_maker_linux'

and press SEND GOAL, and say "Small cappuccino"

rhino

CONTRIBUTING

No CONTRIBUTING.md found.