Skip to content

ayaha-n/jishupuro_pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jishupuro_pkg

This package enables you to demonstrate "denden-mushi", which picks up the sound with the microphone, analyzes the emotion using HUME API and expresses it with its eyes and cheek color.

Supported devices

How to use

To start the program, do:

roslaunch jishupuro_pkg demo.launch

You can test if devices are activated by doing this:

rostopic pub -1 /eye_status std_msgs/UInt16 "data: 6"

Now, visit http://<radxa's ip>:8085/jishupuro_pkg/hume_control_getip.html and fill in the blank with your radxa's IP adress, press "Set IP Address" button. If it doesn't work on Chrome, try on Safari.

You can start the program by pressing "Start Hume", and stop it by "Stop Hume".

Setting your HUME API key

Get your API key at https://dev.hume.ai/intro

nano ~/.bashrc

Append export HUME_API="your_api_key"

source ~/.bashrc

Setup

You may have to do these to execute the program.

sudo apt-get install ros-noetic-roswww
cd ~/catkin_ws/src
git clone --single-branch -b stereo-semi https://github.com/iory/jsk_demos

How to rename ports

These websites will help you to rename ports of the devices.

Paring with speaker

wget https://gist.githubusercontent.com/iory/ecd4b6c19fd657df0979a96dab6c3d56/raw/936b0b3d1db1d669efb5e711b725ea7b363730a3/pairing_bt.py
python3 pairing_bt.py

If you don't have Python3.8 environment

To see the initial setup for python3.8 virtual environment, visit https://www.linuxcapable.com/how-to-install-python-3-8-on-debian-linux/#google_vignette .

Tips

write source ~/catkin_ws/devel/setup.bash in bashrc so that you do not need to do it every time.

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published