Skip to content

Provides an hmi interface connecting to picovoice speech recognition

License

Notifications You must be signed in to change notification settings

tue-robotics/hmi_picovoice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hmi_picovoice

CI Lint

Provides a hmi interface connecting to picovoice rhino speech recognition.

It depends on picovoice_driver to interface with PicoVoice's backend.

Usage with hmi framework

export PICOVOICE_KEY=...  # Get from https://console.picovoice.ai, and choose eg the coffeeMaker example context
rosrun picovoice_driver picovoice_driver_rhino _access_key:=$PICOVOICE_KEY __ns:=/robot/hmi
rosrun hmi_picovoice hmi_picovoice_node.py _context_url:=coffee_maker_linux __ns:=/robot/hmi
rosrun hmi multi_client __name:=/robot/hmi
rosrun actionlib_tools axclient.py /robot/hmi

and in axclient.py GUI Client specify grammar: 'orderBeverage' and hit SEND GOAL. Then, say/speak out loud e.g. 'large cappucino' to your computer and if all is well, the Result field should show something like:

talker_id: ''
sentence: "orderBeverage"
semantics: "{\"size\": \"large\", \"beverage\": \"cappuccino\"}"

Parameters

For hmi_picovoice_node.py:

About

Provides an hmi interface connecting to picovoice speech recognition

Resources

License

Stars

Watchers

Forks

Packages

No packages published