Code Monkey home page Code Monkey logo

picovoice_ros's Introduction

Picovoice ROS

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

Installation

Debians

Prerequisites: Working ROS Noetic environment

sudo apt-get install ros-noetic-picovoice-driver

Source

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

Access key: https://console.picovoice.ai/

rosrun picovoice_driver picovoice_driver_porcupine _access_key:=[YOUR_ACCESS_KEY_HERE]

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

Access key: https://console.picovoice.ai/

rosrun picovoice_driver picovoice_driver_rhino _access_key:=[YOUR_ACCESS_KEY_HERE]

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

picovoice_ros's People

Contributors

reinzor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

picovoice_ros's Issues

Attempt to renew a license nearing expiry was unsuccessful - will continue to use current license

Expected behaviour

We are running Picovoice Rhino on a Jetson Xavier NX via the picovoice_ros node. Up until this morning it has worked very well for almost one month.

Actual behaviour

As of today we are receiving the following error:

[WARN] Attempt to renew a license nearing expiry was unsuccessful - will continue to use current license.

Picovoice appears to be continuously attempting to reconnect which is causing gaps in the "listening" function which leads to missed detections.

[Noetic] picovoice_driver fails to build on arm64 and armhf

Hey @reinzor,

It looks like picovoice_driver isn't building on some platforms:

I'm planning to add all chronically failing packages to per-platform blacklists later this week.
That just means the buildfarm won't try to build them every day.

When all issues causing the build failures are resolved, please make a PR to the production branch on ros_buildfarm_config removing it from the package_blacklist:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.