|
respeaker_ros package from jsk_3rdparty repovoicevox chaplus_ros emotion_analyzer gdrive_ros google_chat_ros influxdb_store jsk_power_switching_tools respeaker_ros ros_speech_recognition rospatlite sesame_ros switchbot_ros |
ROS Distro
|
Package Summary
| Version | 3.0.1 |
| License | Apache-2.0 |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2026-11-13 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Yuki Furuta
Authors
- Yuki Furuta
respeaker_ros
A ROS Package for Respeaker Mic Array
Supported Devices
Preparation
-
Install this package
Assumed that ROS is properly installed.
You can install this package via
apt-get.
sudo apt-get install ros-$ROS_DISTRO-respeaker-ros
Or you can also build from the source.
mkdir -p ~/catkin_ws/src && ~/catkin_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
cd ~/catkin_ws
source /opt/ros/kinetic/setup.bash
rosdep install --from-paths src -i -r -n -y
catkin config --init
catkin build respeaker_ros
source ~/catkin_ws/devel/setup.bash
-
Register respeaker udev rules
Normally, we cannot access USB device without permission from user space. Using
udev, we can give the right permission on only respeaker device automatically.Please run the command as followings to install setting file:
roscd respeaker_ros
sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
sudo systemctl restart udev
And then re-connect the device.
- Update firmware
git clone https://github.com/respeaker/usb_4_mic_array.git
cd usb_4_mic_array
sudo python dfu.py --download 6_channels_firmware.bin # The 6 channels version
How to use
- Run executables
roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction # Result of DoA
rostopic echo /sound_localization # Result of DoA as Pose
rostopic echo /is_speeching # Result of VAD
rostopic echo /audio # Raw audio
rostopic echo /speech_audio # Audio data while speeching
rostopic echo /speech_to_text # Voice recognition
# Voice recognition result for Japanese
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic echo --filter "print('transcript: [%s]\n---'%(', '.join(map(str, m.transcript))))" /speech_to_text
rostopic echo /speech_to_text | ascii2uni -a U -q
You can also set various parameters via `dynamic_reconfigure`.
sudo apt install ros-kinetic-rqt-reconfigure # Install if not
rosrun rqt_reconfigure rqt_reconfigure
To set LED color, publish desired color:
rostopic pub /status_led std_msgs/ColorRGBA "r: 0.0
g: 0.0
b: 1.0
a: 0.3"
Use cases
Voice Recognition
File truncated at 100 lines see the full file
Changelog for package respeaker_ros
3.0.1 (2026-11-10)
- Merge pull request #583 from k-okada/rosdistro-55247-review rosdistro#55247 review: rename power_switching_tools_ros to jsk_power_switching_tools, fix licenses
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and Apache / "Apache License, Version 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55247 review). The LICENSE files of all of them are BSD 3-Clause and Apache 2.0 respectively. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.0 (2026-11-06)
-
Merge pull request #581 from k-okada/ros2-buildfarm-ros-environment Fix ROS2 buildfarm binary jobs: ros_environment, bundled flac, numpy wheel
-
[ros_speech_recognition, respeaker_ros] remove flac binaries bundled with SpeechRecognition from the uv venv The 32bit flac-linux-x86 fails dh_shlibdeps of the buildfarm binary job. SpeechRecognition uses the flac in PATH first, which is an exec_depend. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[voicevox, chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, ros_speech_recognition, rospatlite, sesame_ros, switchbot_ros] depend on ros_environment for ROS2 buildfarm The buildfarm builds each package with only its own build dependencies, so without ros_environment $ROS_VERSION is empty and CMakeLists.txt takes the ROS1 branch (same as jsk_common#1835). voicevox also guesses ROS_VERSION from AMENT_PREFIX_PATH when it is unset. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into fix_hoya
-
Merge branch 'master' into voicevox-ros1-ros2
-
AMENT_IGNORE: do not add AMENT_IGNORE to packages already ported to ROS2 chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros and switchbot_ros are already ROS2 packages on master, so this PR must not AMENT_IGNORE them. Also remove ros_speech_recognition/AMENT_IGNORE, as this PR ports it to ROS2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into ros2-speech-recognition-only
-
Merge pull request #575 from k-okada/ros2-support Add ROS2 (jazzy) support to chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros, switchbot_ros
-
[GA] add ROS2 (jazzy) CI and AMENT_IGNORE packages not yet ported to ROS2
- ros2.yaml: industrial_ci on jazzy. The ROS2 ports depend on jsk_ros1_ros2_compat >= 3.0.2 (jsk_common), installed by rosdep from its jazzy release.
- AMENT_IGNORE the packages not ported to ROS2 yet.
- config.yml: AMENT_IGNORE is treated as CATKIN_IGNORE by rosdep's package discovery, so remove them before rosdep install in the ROS1 jobs (same as jsk_common). Also set ROS_VERSION=1 for indigo, which predates ros_environment. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[respeaker_ros] add ROS2 support Single package.xml/CMakeLists.txt branched on $ROS_VERSION, same as the other ROS2-ported packages in this repository.
- CMakeLists.txt: the ROS2 block is prepended and the ROS1 original is wrapped in else()/endif() unchanged (no re-indentation). SpeechRecognition, pyusb and pixel-ring are not available from apt and catkin_virtualenv has no ROS2 port, so they go into a uv venv made from pyproject.toml/uv.lock with jsk_ros1_ros2_compat_generate_uv_venv(), and respeaker_node.py/ speech_to_text.py are installed with jsk_ros1_ros2_compat_install_python(... USE_VENV). numpy and pyaudio stay on apt (rclpy's message typesupport is built against the system numpy).
- package.xml: $ROS_VERSION conditions; ROS2 adds rclpy, tf_transformations (for tf.transformations), action_msgs/sound_play_msgs (speech_to_text.py) and jsk_ros1_ros2_compat >= 3.0.2 (jsk-ros-pkg/jsk_common#1831).
- Python: the original rospy code is kept as is for its ROS1 users (RespeakerInterface, RespeakerAudio, RespeakerNode, SpeechToText and the __main_ blocks, used when jsk_ros1_ros2_compat, i.e. jsk_common >= 3.0, is not available), and a version written with jsk_ros1_ros2_compat's rospy_rclpy_compat is added next to each of them, used on ROS2 and on ROS1 with jsk_ros1_ros2_compat. Only the imports that do not exist on ROS2 (rospy, dynamic_reconfigure, actionlib, tf, sound_play) and the __main_ conditions of the
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
- launch/sample_respeaker.launch.xml
- ROS2 version of sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
Messages
Services
Plugins
Recent questions tagged respeaker_ros at Robotics Stack Exchange
|
respeaker_ros package from jsk_3rdparty repovoicevox chaplus_ros emotion_analyzer gdrive_ros google_chat_ros influxdb_store jsk_power_switching_tools respeaker_ros ros_speech_recognition rospatlite sesame_ros switchbot_ros |
ROS Distro
|
Package Summary
| Version | 3.0.1 |
| License | Apache-2.0 |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2026-11-13 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Yuki Furuta
Authors
- Yuki Furuta
respeaker_ros
A ROS Package for Respeaker Mic Array
Supported Devices
Preparation
-
Install this package
Assumed that ROS is properly installed.
You can install this package via
apt-get.
sudo apt-get install ros-$ROS_DISTRO-respeaker-ros
Or you can also build from the source.
mkdir -p ~/catkin_ws/src && ~/catkin_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
cd ~/catkin_ws
source /opt/ros/kinetic/setup.bash
rosdep install --from-paths src -i -r -n -y
catkin config --init
catkin build respeaker_ros
source ~/catkin_ws/devel/setup.bash
-
Register respeaker udev rules
Normally, we cannot access USB device without permission from user space. Using
udev, we can give the right permission on only respeaker device automatically.Please run the command as followings to install setting file:
roscd respeaker_ros
sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
sudo systemctl restart udev
And then re-connect the device.
- Update firmware
git clone https://github.com/respeaker/usb_4_mic_array.git
cd usb_4_mic_array
sudo python dfu.py --download 6_channels_firmware.bin # The 6 channels version
How to use
- Run executables
roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction # Result of DoA
rostopic echo /sound_localization # Result of DoA as Pose
rostopic echo /is_speeching # Result of VAD
rostopic echo /audio # Raw audio
rostopic echo /speech_audio # Audio data while speeching
rostopic echo /speech_to_text # Voice recognition
# Voice recognition result for Japanese
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic echo --filter "print('transcript: [%s]\n---'%(', '.join(map(str, m.transcript))))" /speech_to_text
rostopic echo /speech_to_text | ascii2uni -a U -q
You can also set various parameters via `dynamic_reconfigure`.
sudo apt install ros-kinetic-rqt-reconfigure # Install if not
rosrun rqt_reconfigure rqt_reconfigure
To set LED color, publish desired color:
rostopic pub /status_led std_msgs/ColorRGBA "r: 0.0
g: 0.0
b: 1.0
a: 0.3"
Use cases
Voice Recognition
File truncated at 100 lines see the full file
Changelog for package respeaker_ros
3.0.1 (2026-11-10)
- Merge pull request #583 from k-okada/rosdistro-55247-review rosdistro#55247 review: rename power_switching_tools_ros to jsk_power_switching_tools, fix licenses
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and Apache / "Apache License, Version 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55247 review). The LICENSE files of all of them are BSD 3-Clause and Apache 2.0 respectively. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.0 (2026-11-06)
-
Merge pull request #581 from k-okada/ros2-buildfarm-ros-environment Fix ROS2 buildfarm binary jobs: ros_environment, bundled flac, numpy wheel
-
[ros_speech_recognition, respeaker_ros] remove flac binaries bundled with SpeechRecognition from the uv venv The 32bit flac-linux-x86 fails dh_shlibdeps of the buildfarm binary job. SpeechRecognition uses the flac in PATH first, which is an exec_depend. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[voicevox, chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, ros_speech_recognition, rospatlite, sesame_ros, switchbot_ros] depend on ros_environment for ROS2 buildfarm The buildfarm builds each package with only its own build dependencies, so without ros_environment $ROS_VERSION is empty and CMakeLists.txt takes the ROS1 branch (same as jsk_common#1835). voicevox also guesses ROS_VERSION from AMENT_PREFIX_PATH when it is unset. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into fix_hoya
-
Merge branch 'master' into voicevox-ros1-ros2
-
AMENT_IGNORE: do not add AMENT_IGNORE to packages already ported to ROS2 chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros and switchbot_ros are already ROS2 packages on master, so this PR must not AMENT_IGNORE them. Also remove ros_speech_recognition/AMENT_IGNORE, as this PR ports it to ROS2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into ros2-speech-recognition-only
-
Merge pull request #575 from k-okada/ros2-support Add ROS2 (jazzy) support to chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros, switchbot_ros
-
[GA] add ROS2 (jazzy) CI and AMENT_IGNORE packages not yet ported to ROS2
- ros2.yaml: industrial_ci on jazzy. The ROS2 ports depend on jsk_ros1_ros2_compat >= 3.0.2 (jsk_common), installed by rosdep from its jazzy release.
- AMENT_IGNORE the packages not ported to ROS2 yet.
- config.yml: AMENT_IGNORE is treated as CATKIN_IGNORE by rosdep's package discovery, so remove them before rosdep install in the ROS1 jobs (same as jsk_common). Also set ROS_VERSION=1 for indigo, which predates ros_environment. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[respeaker_ros] add ROS2 support Single package.xml/CMakeLists.txt branched on $ROS_VERSION, same as the other ROS2-ported packages in this repository.
- CMakeLists.txt: the ROS2 block is prepended and the ROS1 original is wrapped in else()/endif() unchanged (no re-indentation). SpeechRecognition, pyusb and pixel-ring are not available from apt and catkin_virtualenv has no ROS2 port, so they go into a uv venv made from pyproject.toml/uv.lock with jsk_ros1_ros2_compat_generate_uv_venv(), and respeaker_node.py/ speech_to_text.py are installed with jsk_ros1_ros2_compat_install_python(... USE_VENV). numpy and pyaudio stay on apt (rclpy's message typesupport is built against the system numpy).
- package.xml: $ROS_VERSION conditions; ROS2 adds rclpy, tf_transformations (for tf.transformations), action_msgs/sound_play_msgs (speech_to_text.py) and jsk_ros1_ros2_compat >= 3.0.2 (jsk-ros-pkg/jsk_common#1831).
- Python: the original rospy code is kept as is for its ROS1 users (RespeakerInterface, RespeakerAudio, RespeakerNode, SpeechToText and the __main_ blocks, used when jsk_ros1_ros2_compat, i.e. jsk_common >= 3.0, is not available), and a version written with jsk_ros1_ros2_compat's rospy_rclpy_compat is added next to each of them, used on ROS2 and on ROS1 with jsk_ros1_ros2_compat. Only the imports that do not exist on ROS2 (rospy, dynamic_reconfigure, actionlib, tf, sound_play) and the __main_ conditions of the
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
- launch/sample_respeaker.launch.xml
- ROS2 version of sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
Messages
Services
Plugins
Recent questions tagged respeaker_ros at Robotics Stack Exchange
|
respeaker_ros package from jsk_3rdparty repovoicevox chaplus_ros emotion_analyzer gdrive_ros google_chat_ros influxdb_store jsk_power_switching_tools respeaker_ros ros_speech_recognition rospatlite sesame_ros switchbot_ros |
ROS Distro
|
Package Summary
| Version | 3.0.1 |
| License | Apache-2.0 |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2026-11-13 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Yuki Furuta
Authors
- Yuki Furuta
respeaker_ros
A ROS Package for Respeaker Mic Array
Supported Devices
Preparation
-
Install this package
Assumed that ROS is properly installed.
You can install this package via
apt-get.
sudo apt-get install ros-$ROS_DISTRO-respeaker-ros
Or you can also build from the source.
mkdir -p ~/catkin_ws/src && ~/catkin_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
cd ~/catkin_ws
source /opt/ros/kinetic/setup.bash
rosdep install --from-paths src -i -r -n -y
catkin config --init
catkin build respeaker_ros
source ~/catkin_ws/devel/setup.bash
-
Register respeaker udev rules
Normally, we cannot access USB device without permission from user space. Using
udev, we can give the right permission on only respeaker device automatically.Please run the command as followings to install setting file:
roscd respeaker_ros
sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
sudo systemctl restart udev
And then re-connect the device.
- Update firmware
git clone https://github.com/respeaker/usb_4_mic_array.git
cd usb_4_mic_array
sudo python dfu.py --download 6_channels_firmware.bin # The 6 channels version
How to use
- Run executables
roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction # Result of DoA
rostopic echo /sound_localization # Result of DoA as Pose
rostopic echo /is_speeching # Result of VAD
rostopic echo /audio # Raw audio
rostopic echo /speech_audio # Audio data while speeching
rostopic echo /speech_to_text # Voice recognition
# Voice recognition result for Japanese
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic echo --filter "print('transcript: [%s]\n---'%(', '.join(map(str, m.transcript))))" /speech_to_text
rostopic echo /speech_to_text | ascii2uni -a U -q
You can also set various parameters via `dynamic_reconfigure`.
sudo apt install ros-kinetic-rqt-reconfigure # Install if not
rosrun rqt_reconfigure rqt_reconfigure
To set LED color, publish desired color:
rostopic pub /status_led std_msgs/ColorRGBA "r: 0.0
g: 0.0
b: 1.0
a: 0.3"
Use cases
Voice Recognition
File truncated at 100 lines see the full file
Changelog for package respeaker_ros
3.0.1 (2026-11-10)
- Merge pull request #583 from k-okada/rosdistro-55247-review rosdistro#55247 review: rename power_switching_tools_ros to jsk_power_switching_tools, fix licenses
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and Apache / "Apache License, Version 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55247 review). The LICENSE files of all of them are BSD 3-Clause and Apache 2.0 respectively. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.0 (2026-11-06)
-
Merge pull request #581 from k-okada/ros2-buildfarm-ros-environment Fix ROS2 buildfarm binary jobs: ros_environment, bundled flac, numpy wheel
-
[ros_speech_recognition, respeaker_ros] remove flac binaries bundled with SpeechRecognition from the uv venv The 32bit flac-linux-x86 fails dh_shlibdeps of the buildfarm binary job. SpeechRecognition uses the flac in PATH first, which is an exec_depend. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[voicevox, chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, ros_speech_recognition, rospatlite, sesame_ros, switchbot_ros] depend on ros_environment for ROS2 buildfarm The buildfarm builds each package with only its own build dependencies, so without ros_environment $ROS_VERSION is empty and CMakeLists.txt takes the ROS1 branch (same as jsk_common#1835). voicevox also guesses ROS_VERSION from AMENT_PREFIX_PATH when it is unset. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into fix_hoya
-
Merge branch 'master' into voicevox-ros1-ros2
-
AMENT_IGNORE: do not add AMENT_IGNORE to packages already ported to ROS2 chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros and switchbot_ros are already ROS2 packages on master, so this PR must not AMENT_IGNORE them. Also remove ros_speech_recognition/AMENT_IGNORE, as this PR ports it to ROS2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into ros2-speech-recognition-only
-
Merge pull request #575 from k-okada/ros2-support Add ROS2 (jazzy) support to chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros, switchbot_ros
-
[GA] add ROS2 (jazzy) CI and AMENT_IGNORE packages not yet ported to ROS2
- ros2.yaml: industrial_ci on jazzy. The ROS2 ports depend on jsk_ros1_ros2_compat >= 3.0.2 (jsk_common), installed by rosdep from its jazzy release.
- AMENT_IGNORE the packages not ported to ROS2 yet.
- config.yml: AMENT_IGNORE is treated as CATKIN_IGNORE by rosdep's package discovery, so remove them before rosdep install in the ROS1 jobs (same as jsk_common). Also set ROS_VERSION=1 for indigo, which predates ros_environment. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[respeaker_ros] add ROS2 support Single package.xml/CMakeLists.txt branched on $ROS_VERSION, same as the other ROS2-ported packages in this repository.
- CMakeLists.txt: the ROS2 block is prepended and the ROS1 original is wrapped in else()/endif() unchanged (no re-indentation). SpeechRecognition, pyusb and pixel-ring are not available from apt and catkin_virtualenv has no ROS2 port, so they go into a uv venv made from pyproject.toml/uv.lock with jsk_ros1_ros2_compat_generate_uv_venv(), and respeaker_node.py/ speech_to_text.py are installed with jsk_ros1_ros2_compat_install_python(... USE_VENV). numpy and pyaudio stay on apt (rclpy's message typesupport is built against the system numpy).
- package.xml: $ROS_VERSION conditions; ROS2 adds rclpy, tf_transformations (for tf.transformations), action_msgs/sound_play_msgs (speech_to_text.py) and jsk_ros1_ros2_compat >= 3.0.2 (jsk-ros-pkg/jsk_common#1831).
- Python: the original rospy code is kept as is for its ROS1 users (RespeakerInterface, RespeakerAudio, RespeakerNode, SpeechToText and the __main_ blocks, used when jsk_ros1_ros2_compat, i.e. jsk_common >= 3.0, is not available), and a version written with jsk_ros1_ros2_compat's rospy_rclpy_compat is added next to each of them, used on ROS2 and on ROS1 with jsk_ros1_ros2_compat. Only the imports that do not exist on ROS2 (rospy, dynamic_reconfigure, actionlib, tf, sound_play) and the __main_ conditions of the
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
- launch/sample_respeaker.launch.xml
- ROS2 version of sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
Messages
Services
Plugins
Recent questions tagged respeaker_ros at Robotics Stack Exchange
|
respeaker_ros package from jsk_3rdparty repovoicevox chaplus_ros emotion_analyzer gdrive_ros google_chat_ros influxdb_store jsk_power_switching_tools respeaker_ros ros_speech_recognition rospatlite sesame_ros switchbot_ros |
ROS Distro
|
Package Summary
| Version | 3.0.1 |
| License | Apache-2.0 |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2026-11-13 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Yuki Furuta
Authors
- Yuki Furuta
respeaker_ros
A ROS Package for Respeaker Mic Array
Supported Devices
Preparation
-
Install this package
Assumed that ROS is properly installed.
You can install this package via
apt-get.
sudo apt-get install ros-$ROS_DISTRO-respeaker-ros
Or you can also build from the source.
mkdir -p ~/catkin_ws/src && ~/catkin_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
cd ~/catkin_ws
source /opt/ros/kinetic/setup.bash
rosdep install --from-paths src -i -r -n -y
catkin config --init
catkin build respeaker_ros
source ~/catkin_ws/devel/setup.bash
-
Register respeaker udev rules
Normally, we cannot access USB device without permission from user space. Using
udev, we can give the right permission on only respeaker device automatically.Please run the command as followings to install setting file:
roscd respeaker_ros
sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
sudo systemctl restart udev
And then re-connect the device.
- Update firmware
git clone https://github.com/respeaker/usb_4_mic_array.git
cd usb_4_mic_array
sudo python dfu.py --download 6_channels_firmware.bin # The 6 channels version
How to use
- Run executables
roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction # Result of DoA
rostopic echo /sound_localization # Result of DoA as Pose
rostopic echo /is_speeching # Result of VAD
rostopic echo /audio # Raw audio
rostopic echo /speech_audio # Audio data while speeching
rostopic echo /speech_to_text # Voice recognition
# Voice recognition result for Japanese
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic echo --filter "print('transcript: [%s]\n---'%(', '.join(map(str, m.transcript))))" /speech_to_text
rostopic echo /speech_to_text | ascii2uni -a U -q
You can also set various parameters via `dynamic_reconfigure`.
sudo apt install ros-kinetic-rqt-reconfigure # Install if not
rosrun rqt_reconfigure rqt_reconfigure
To set LED color, publish desired color:
rostopic pub /status_led std_msgs/ColorRGBA "r: 0.0
g: 0.0
b: 1.0
a: 0.3"
Use cases
Voice Recognition
File truncated at 100 lines see the full file
Changelog for package respeaker_ros
3.0.1 (2026-11-10)
- Merge pull request #583 from k-okada/rosdistro-55247-review rosdistro#55247 review: rename power_switching_tools_ros to jsk_power_switching_tools, fix licenses
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and Apache / "Apache License, Version 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55247 review). The LICENSE files of all of them are BSD 3-Clause and Apache 2.0 respectively. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.0 (2026-11-06)
-
Merge pull request #581 from k-okada/ros2-buildfarm-ros-environment Fix ROS2 buildfarm binary jobs: ros_environment, bundled flac, numpy wheel
-
[ros_speech_recognition, respeaker_ros] remove flac binaries bundled with SpeechRecognition from the uv venv The 32bit flac-linux-x86 fails dh_shlibdeps of the buildfarm binary job. SpeechRecognition uses the flac in PATH first, which is an exec_depend. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[voicevox, chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, ros_speech_recognition, rospatlite, sesame_ros, switchbot_ros] depend on ros_environment for ROS2 buildfarm The buildfarm builds each package with only its own build dependencies, so without ros_environment $ROS_VERSION is empty and CMakeLists.txt takes the ROS1 branch (same as jsk_common#1835). voicevox also guesses ROS_VERSION from AMENT_PREFIX_PATH when it is unset. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into fix_hoya
-
Merge branch 'master' into voicevox-ros1-ros2
-
AMENT_IGNORE: do not add AMENT_IGNORE to packages already ported to ROS2 chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros and switchbot_ros are already ROS2 packages on master, so this PR must not AMENT_IGNORE them. Also remove ros_speech_recognition/AMENT_IGNORE, as this PR ports it to ROS2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into ros2-speech-recognition-only
-
Merge pull request #575 from k-okada/ros2-support Add ROS2 (jazzy) support to chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros, switchbot_ros
-
[GA] add ROS2 (jazzy) CI and AMENT_IGNORE packages not yet ported to ROS2
- ros2.yaml: industrial_ci on jazzy. The ROS2 ports depend on jsk_ros1_ros2_compat >= 3.0.2 (jsk_common), installed by rosdep from its jazzy release.
- AMENT_IGNORE the packages not ported to ROS2 yet.
- config.yml: AMENT_IGNORE is treated as CATKIN_IGNORE by rosdep's package discovery, so remove them before rosdep install in the ROS1 jobs (same as jsk_common). Also set ROS_VERSION=1 for indigo, which predates ros_environment. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[respeaker_ros] add ROS2 support Single package.xml/CMakeLists.txt branched on $ROS_VERSION, same as the other ROS2-ported packages in this repository.
- CMakeLists.txt: the ROS2 block is prepended and the ROS1 original is wrapped in else()/endif() unchanged (no re-indentation). SpeechRecognition, pyusb and pixel-ring are not available from apt and catkin_virtualenv has no ROS2 port, so they go into a uv venv made from pyproject.toml/uv.lock with jsk_ros1_ros2_compat_generate_uv_venv(), and respeaker_node.py/ speech_to_text.py are installed with jsk_ros1_ros2_compat_install_python(... USE_VENV). numpy and pyaudio stay on apt (rclpy's message typesupport is built against the system numpy).
- package.xml: $ROS_VERSION conditions; ROS2 adds rclpy, tf_transformations (for tf.transformations), action_msgs/sound_play_msgs (speech_to_text.py) and jsk_ros1_ros2_compat >= 3.0.2 (jsk-ros-pkg/jsk_common#1831).
- Python: the original rospy code is kept as is for its ROS1 users (RespeakerInterface, RespeakerAudio, RespeakerNode, SpeechToText and the __main_ blocks, used when jsk_ros1_ros2_compat, i.e. jsk_common >= 3.0, is not available), and a version written with jsk_ros1_ros2_compat's rospy_rclpy_compat is added next to each of them, used on ROS2 and on ROS1 with jsk_ros1_ros2_compat. Only the imports that do not exist on ROS2 (rospy, dynamic_reconfigure, actionlib, tf, sound_play) and the __main_ conditions of the
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
- launch/sample_respeaker.launch.xml
- ROS2 version of sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
Messages
Services
Plugins
Recent questions tagged respeaker_ros at Robotics Stack Exchange
|
respeaker_ros package from jsk_3rdparty repovoicevox chaplus_ros emotion_analyzer gdrive_ros google_chat_ros influxdb_store jsk_power_switching_tools respeaker_ros ros_speech_recognition rospatlite sesame_ros switchbot_ros |
ROS Distro
|
Package Summary
| Version | 3.0.1 |
| License | Apache-2.0 |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2026-11-13 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Yuki Furuta
Authors
- Yuki Furuta
respeaker_ros
A ROS Package for Respeaker Mic Array
Supported Devices
Preparation
-
Install this package
Assumed that ROS is properly installed.
You can install this package via
apt-get.
sudo apt-get install ros-$ROS_DISTRO-respeaker-ros
Or you can also build from the source.
mkdir -p ~/catkin_ws/src && ~/catkin_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
cd ~/catkin_ws
source /opt/ros/kinetic/setup.bash
rosdep install --from-paths src -i -r -n -y
catkin config --init
catkin build respeaker_ros
source ~/catkin_ws/devel/setup.bash
-
Register respeaker udev rules
Normally, we cannot access USB device without permission from user space. Using
udev, we can give the right permission on only respeaker device automatically.Please run the command as followings to install setting file:
roscd respeaker_ros
sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
sudo systemctl restart udev
And then re-connect the device.
- Update firmware
git clone https://github.com/respeaker/usb_4_mic_array.git
cd usb_4_mic_array
sudo python dfu.py --download 6_channels_firmware.bin # The 6 channels version
How to use
- Run executables
roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction # Result of DoA
rostopic echo /sound_localization # Result of DoA as Pose
rostopic echo /is_speeching # Result of VAD
rostopic echo /audio # Raw audio
rostopic echo /speech_audio # Audio data while speeching
rostopic echo /speech_to_text # Voice recognition
# Voice recognition result for Japanese
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic echo --filter "print('transcript: [%s]\n---'%(', '.join(map(str, m.transcript))))" /speech_to_text
rostopic echo /speech_to_text | ascii2uni -a U -q
You can also set various parameters via `dynamic_reconfigure`.
sudo apt install ros-kinetic-rqt-reconfigure # Install if not
rosrun rqt_reconfigure rqt_reconfigure
To set LED color, publish desired color:
rostopic pub /status_led std_msgs/ColorRGBA "r: 0.0
g: 0.0
b: 1.0
a: 0.3"
Use cases
Voice Recognition
File truncated at 100 lines see the full file
Changelog for package respeaker_ros
3.0.1 (2026-11-10)
- Merge pull request #583 from k-okada/rosdistro-55247-review rosdistro#55247 review: rename power_switching_tools_ros to jsk_power_switching_tools, fix licenses
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and Apache / "Apache License, Version 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55247 review). The LICENSE files of all of them are BSD 3-Clause and Apache 2.0 respectively. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.0 (2026-11-06)
-
Merge pull request #581 from k-okada/ros2-buildfarm-ros-environment Fix ROS2 buildfarm binary jobs: ros_environment, bundled flac, numpy wheel
-
[ros_speech_recognition, respeaker_ros] remove flac binaries bundled with SpeechRecognition from the uv venv The 32bit flac-linux-x86 fails dh_shlibdeps of the buildfarm binary job. SpeechRecognition uses the flac in PATH first, which is an exec_depend. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[voicevox, chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, ros_speech_recognition, rospatlite, sesame_ros, switchbot_ros] depend on ros_environment for ROS2 buildfarm The buildfarm builds each package with only its own build dependencies, so without ros_environment $ROS_VERSION is empty and CMakeLists.txt takes the ROS1 branch (same as jsk_common#1835). voicevox also guesses ROS_VERSION from AMENT_PREFIX_PATH when it is unset. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into fix_hoya
-
Merge branch 'master' into voicevox-ros1-ros2
-
AMENT_IGNORE: do not add AMENT_IGNORE to packages already ported to ROS2 chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros and switchbot_ros are already ROS2 packages on master, so this PR must not AMENT_IGNORE them. Also remove ros_speech_recognition/AMENT_IGNORE, as this PR ports it to ROS2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into ros2-speech-recognition-only
-
Merge pull request #575 from k-okada/ros2-support Add ROS2 (jazzy) support to chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros, switchbot_ros
-
[GA] add ROS2 (jazzy) CI and AMENT_IGNORE packages not yet ported to ROS2
- ros2.yaml: industrial_ci on jazzy. The ROS2 ports depend on jsk_ros1_ros2_compat >= 3.0.2 (jsk_common), installed by rosdep from its jazzy release.
- AMENT_IGNORE the packages not ported to ROS2 yet.
- config.yml: AMENT_IGNORE is treated as CATKIN_IGNORE by rosdep's package discovery, so remove them before rosdep install in the ROS1 jobs (same as jsk_common). Also set ROS_VERSION=1 for indigo, which predates ros_environment. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[respeaker_ros] add ROS2 support Single package.xml/CMakeLists.txt branched on $ROS_VERSION, same as the other ROS2-ported packages in this repository.
- CMakeLists.txt: the ROS2 block is prepended and the ROS1 original is wrapped in else()/endif() unchanged (no re-indentation). SpeechRecognition, pyusb and pixel-ring are not available from apt and catkin_virtualenv has no ROS2 port, so they go into a uv venv made from pyproject.toml/uv.lock with jsk_ros1_ros2_compat_generate_uv_venv(), and respeaker_node.py/ speech_to_text.py are installed with jsk_ros1_ros2_compat_install_python(... USE_VENV). numpy and pyaudio stay on apt (rclpy's message typesupport is built against the system numpy).
- package.xml: $ROS_VERSION conditions; ROS2 adds rclpy, tf_transformations (for tf.transformations), action_msgs/sound_play_msgs (speech_to_text.py) and jsk_ros1_ros2_compat >= 3.0.2 (jsk-ros-pkg/jsk_common#1831).
- Python: the original rospy code is kept as is for its ROS1 users (RespeakerInterface, RespeakerAudio, RespeakerNode, SpeechToText and the __main_ blocks, used when jsk_ros1_ros2_compat, i.e. jsk_common >= 3.0, is not available), and a version written with jsk_ros1_ros2_compat's rospy_rclpy_compat is added next to each of them, used on ROS2 and on ROS1 with jsk_ros1_ros2_compat. Only the imports that do not exist on ROS2 (rospy, dynamic_reconfigure, actionlib, tf, sound_play) and the __main_ conditions of the
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
- launch/sample_respeaker.launch.xml
- ROS2 version of sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
Messages
Services
Plugins
Recent questions tagged respeaker_ros at Robotics Stack Exchange
|
respeaker_ros package from jsk_3rdparty repovoicevox chaplus_ros emotion_analyzer gdrive_ros google_chat_ros influxdb_store jsk_power_switching_tools respeaker_ros ros_speech_recognition rospatlite sesame_ros switchbot_ros |
ROS Distro
|
Package Summary
| Version | 3.0.1 |
| License | Apache-2.0 |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2026-11-13 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Yuki Furuta
Authors
- Yuki Furuta
respeaker_ros
A ROS Package for Respeaker Mic Array
Supported Devices
Preparation
-
Install this package
Assumed that ROS is properly installed.
You can install this package via
apt-get.
sudo apt-get install ros-$ROS_DISTRO-respeaker-ros
Or you can also build from the source.
mkdir -p ~/catkin_ws/src && ~/catkin_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
cd ~/catkin_ws
source /opt/ros/kinetic/setup.bash
rosdep install --from-paths src -i -r -n -y
catkin config --init
catkin build respeaker_ros
source ~/catkin_ws/devel/setup.bash
-
Register respeaker udev rules
Normally, we cannot access USB device without permission from user space. Using
udev, we can give the right permission on only respeaker device automatically.Please run the command as followings to install setting file:
roscd respeaker_ros
sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
sudo systemctl restart udev
And then re-connect the device.
- Update firmware
git clone https://github.com/respeaker/usb_4_mic_array.git
cd usb_4_mic_array
sudo python dfu.py --download 6_channels_firmware.bin # The 6 channels version
How to use
- Run executables
roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction # Result of DoA
rostopic echo /sound_localization # Result of DoA as Pose
rostopic echo /is_speeching # Result of VAD
rostopic echo /audio # Raw audio
rostopic echo /speech_audio # Audio data while speeching
rostopic echo /speech_to_text # Voice recognition
# Voice recognition result for Japanese
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic echo --filter "print('transcript: [%s]\n---'%(', '.join(map(str, m.transcript))))" /speech_to_text
rostopic echo /speech_to_text | ascii2uni -a U -q
You can also set various parameters via `dynamic_reconfigure`.
sudo apt install ros-kinetic-rqt-reconfigure # Install if not
rosrun rqt_reconfigure rqt_reconfigure
To set LED color, publish desired color:
rostopic pub /status_led std_msgs/ColorRGBA "r: 0.0
g: 0.0
b: 1.0
a: 0.3"
Use cases
Voice Recognition
File truncated at 100 lines see the full file
Changelog for package respeaker_ros
3.0.1 (2026-11-10)
- Merge pull request #583 from k-okada/rosdistro-55247-review rosdistro#55247 review: rename power_switching_tools_ros to jsk_power_switching_tools, fix licenses
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and Apache / "Apache License, Version 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55247 review). The LICENSE files of all of them are BSD 3-Clause and Apache 2.0 respectively. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.0 (2026-11-06)
-
Merge pull request #581 from k-okada/ros2-buildfarm-ros-environment Fix ROS2 buildfarm binary jobs: ros_environment, bundled flac, numpy wheel
-
[ros_speech_recognition, respeaker_ros] remove flac binaries bundled with SpeechRecognition from the uv venv The 32bit flac-linux-x86 fails dh_shlibdeps of the buildfarm binary job. SpeechRecognition uses the flac in PATH first, which is an exec_depend. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[voicevox, chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, ros_speech_recognition, rospatlite, sesame_ros, switchbot_ros] depend on ros_environment for ROS2 buildfarm The buildfarm builds each package with only its own build dependencies, so without ros_environment $ROS_VERSION is empty and CMakeLists.txt takes the ROS1 branch (same as jsk_common#1835). voicevox also guesses ROS_VERSION from AMENT_PREFIX_PATH when it is unset. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into fix_hoya
-
Merge branch 'master' into voicevox-ros1-ros2
-
AMENT_IGNORE: do not add AMENT_IGNORE to packages already ported to ROS2 chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros and switchbot_ros are already ROS2 packages on master, so this PR must not AMENT_IGNORE them. Also remove ros_speech_recognition/AMENT_IGNORE, as this PR ports it to ROS2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into ros2-speech-recognition-only
-
Merge pull request #575 from k-okada/ros2-support Add ROS2 (jazzy) support to chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros, switchbot_ros
-
[GA] add ROS2 (jazzy) CI and AMENT_IGNORE packages not yet ported to ROS2
- ros2.yaml: industrial_ci on jazzy. The ROS2 ports depend on jsk_ros1_ros2_compat >= 3.0.2 (jsk_common), installed by rosdep from its jazzy release.
- AMENT_IGNORE the packages not ported to ROS2 yet.
- config.yml: AMENT_IGNORE is treated as CATKIN_IGNORE by rosdep's package discovery, so remove them before rosdep install in the ROS1 jobs (same as jsk_common). Also set ROS_VERSION=1 for indigo, which predates ros_environment. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[respeaker_ros] add ROS2 support Single package.xml/CMakeLists.txt branched on $ROS_VERSION, same as the other ROS2-ported packages in this repository.
- CMakeLists.txt: the ROS2 block is prepended and the ROS1 original is wrapped in else()/endif() unchanged (no re-indentation). SpeechRecognition, pyusb and pixel-ring are not available from apt and catkin_virtualenv has no ROS2 port, so they go into a uv venv made from pyproject.toml/uv.lock with jsk_ros1_ros2_compat_generate_uv_venv(), and respeaker_node.py/ speech_to_text.py are installed with jsk_ros1_ros2_compat_install_python(... USE_VENV). numpy and pyaudio stay on apt (rclpy's message typesupport is built against the system numpy).
- package.xml: $ROS_VERSION conditions; ROS2 adds rclpy, tf_transformations (for tf.transformations), action_msgs/sound_play_msgs (speech_to_text.py) and jsk_ros1_ros2_compat >= 3.0.2 (jsk-ros-pkg/jsk_common#1831).
- Python: the original rospy code is kept as is for its ROS1 users (RespeakerInterface, RespeakerAudio, RespeakerNode, SpeechToText and the __main_ blocks, used when jsk_ros1_ros2_compat, i.e. jsk_common >= 3.0, is not available), and a version written with jsk_ros1_ros2_compat's rospy_rclpy_compat is added next to each of them, used on ROS2 and on ROS1 with jsk_ros1_ros2_compat. Only the imports that do not exist on ROS2 (rospy, dynamic_reconfigure, actionlib, tf, sound_play) and the __main_ conditions of the
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
- launch/sample_respeaker.launch.xml
- ROS2 version of sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
Messages
Services
Plugins
Recent questions tagged respeaker_ros at Robotics Stack Exchange
|
respeaker_ros package from jsk_3rdparty repovoicevox chaplus_ros emotion_analyzer gdrive_ros google_chat_ros influxdb_store jsk_power_switching_tools respeaker_ros ros_speech_recognition rospatlite sesame_ros switchbot_ros |
ROS Distro
|
Package Summary
| Version | 3.0.1 |
| License | Apache-2.0 |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2026-11-13 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Yuki Furuta
Authors
- Yuki Furuta
respeaker_ros
A ROS Package for Respeaker Mic Array
Supported Devices
Preparation
-
Install this package
Assumed that ROS is properly installed.
You can install this package via
apt-get.
sudo apt-get install ros-$ROS_DISTRO-respeaker-ros
Or you can also build from the source.
mkdir -p ~/catkin_ws/src && ~/catkin_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
cd ~/catkin_ws
source /opt/ros/kinetic/setup.bash
rosdep install --from-paths src -i -r -n -y
catkin config --init
catkin build respeaker_ros
source ~/catkin_ws/devel/setup.bash
-
Register respeaker udev rules
Normally, we cannot access USB device without permission from user space. Using
udev, we can give the right permission on only respeaker device automatically.Please run the command as followings to install setting file:
roscd respeaker_ros
sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
sudo systemctl restart udev
And then re-connect the device.
- Update firmware
git clone https://github.com/respeaker/usb_4_mic_array.git
cd usb_4_mic_array
sudo python dfu.py --download 6_channels_firmware.bin # The 6 channels version
How to use
- Run executables
roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction # Result of DoA
rostopic echo /sound_localization # Result of DoA as Pose
rostopic echo /is_speeching # Result of VAD
rostopic echo /audio # Raw audio
rostopic echo /speech_audio # Audio data while speeching
rostopic echo /speech_to_text # Voice recognition
# Voice recognition result for Japanese
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic echo --filter "print('transcript: [%s]\n---'%(', '.join(map(str, m.transcript))))" /speech_to_text
rostopic echo /speech_to_text | ascii2uni -a U -q
You can also set various parameters via `dynamic_reconfigure`.
sudo apt install ros-kinetic-rqt-reconfigure # Install if not
rosrun rqt_reconfigure rqt_reconfigure
To set LED color, publish desired color:
rostopic pub /status_led std_msgs/ColorRGBA "r: 0.0
g: 0.0
b: 1.0
a: 0.3"
Use cases
Voice Recognition
File truncated at 100 lines see the full file
Changelog for package respeaker_ros
3.0.1 (2026-11-10)
- Merge pull request #583 from k-okada/rosdistro-55247-review rosdistro#55247 review: rename power_switching_tools_ros to jsk_power_switching_tools, fix licenses
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and Apache / "Apache License, Version 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55247 review). The LICENSE files of all of them are BSD 3-Clause and Apache 2.0 respectively. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.0 (2026-11-06)
-
Merge pull request #581 from k-okada/ros2-buildfarm-ros-environment Fix ROS2 buildfarm binary jobs: ros_environment, bundled flac, numpy wheel
-
[ros_speech_recognition, respeaker_ros] remove flac binaries bundled with SpeechRecognition from the uv venv The 32bit flac-linux-x86 fails dh_shlibdeps of the buildfarm binary job. SpeechRecognition uses the flac in PATH first, which is an exec_depend. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[voicevox, chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, ros_speech_recognition, rospatlite, sesame_ros, switchbot_ros] depend on ros_environment for ROS2 buildfarm The buildfarm builds each package with only its own build dependencies, so without ros_environment $ROS_VERSION is empty and CMakeLists.txt takes the ROS1 branch (same as jsk_common#1835). voicevox also guesses ROS_VERSION from AMENT_PREFIX_PATH when it is unset. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into fix_hoya
-
Merge branch 'master' into voicevox-ros1-ros2
-
AMENT_IGNORE: do not add AMENT_IGNORE to packages already ported to ROS2 chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros and switchbot_ros are already ROS2 packages on master, so this PR must not AMENT_IGNORE them. Also remove ros_speech_recognition/AMENT_IGNORE, as this PR ports it to ROS2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into ros2-speech-recognition-only
-
Merge pull request #575 from k-okada/ros2-support Add ROS2 (jazzy) support to chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros, switchbot_ros
-
[GA] add ROS2 (jazzy) CI and AMENT_IGNORE packages not yet ported to ROS2
- ros2.yaml: industrial_ci on jazzy. The ROS2 ports depend on jsk_ros1_ros2_compat >= 3.0.2 (jsk_common), installed by rosdep from its jazzy release.
- AMENT_IGNORE the packages not ported to ROS2 yet.
- config.yml: AMENT_IGNORE is treated as CATKIN_IGNORE by rosdep's package discovery, so remove them before rosdep install in the ROS1 jobs (same as jsk_common). Also set ROS_VERSION=1 for indigo, which predates ros_environment. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[respeaker_ros] add ROS2 support Single package.xml/CMakeLists.txt branched on $ROS_VERSION, same as the other ROS2-ported packages in this repository.
- CMakeLists.txt: the ROS2 block is prepended and the ROS1 original is wrapped in else()/endif() unchanged (no re-indentation). SpeechRecognition, pyusb and pixel-ring are not available from apt and catkin_virtualenv has no ROS2 port, so they go into a uv venv made from pyproject.toml/uv.lock with jsk_ros1_ros2_compat_generate_uv_venv(), and respeaker_node.py/ speech_to_text.py are installed with jsk_ros1_ros2_compat_install_python(... USE_VENV). numpy and pyaudio stay on apt (rclpy's message typesupport is built against the system numpy).
- package.xml: $ROS_VERSION conditions; ROS2 adds rclpy, tf_transformations (for tf.transformations), action_msgs/sound_play_msgs (speech_to_text.py) and jsk_ros1_ros2_compat >= 3.0.2 (jsk-ros-pkg/jsk_common#1831).
- Python: the original rospy code is kept as is for its ROS1 users (RespeakerInterface, RespeakerAudio, RespeakerNode, SpeechToText and the __main_ blocks, used when jsk_ros1_ros2_compat, i.e. jsk_common >= 3.0, is not available), and a version written with jsk_ros1_ros2_compat's rospy_rclpy_compat is added next to each of them, used on ROS2 and on ROS1 with jsk_ros1_ros2_compat. Only the imports that do not exist on ROS2 (rospy, dynamic_reconfigure, actionlib, tf, sound_play) and the __main_ conditions of the
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
- launch/sample_respeaker.launch.xml
- ROS2 version of sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
Messages
Services
Plugins
Recent questions tagged respeaker_ros at Robotics Stack Exchange
|
respeaker_ros package from jsk_3rdparty repovoicevox chaplus_ros emotion_analyzer gdrive_ros google_chat_ros influxdb_store jsk_power_switching_tools respeaker_ros ros_speech_recognition rospatlite sesame_ros switchbot_ros |
ROS Distro
|
Package Summary
| Version | 3.0.1 |
| License | Apache-2.0 |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2026-11-13 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Yuki Furuta
Authors
- Yuki Furuta
respeaker_ros
A ROS Package for Respeaker Mic Array
Supported Devices
Preparation
-
Install this package
Assumed that ROS is properly installed.
You can install this package via
apt-get.
sudo apt-get install ros-$ROS_DISTRO-respeaker-ros
Or you can also build from the source.
mkdir -p ~/catkin_ws/src && ~/catkin_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
cd ~/catkin_ws
source /opt/ros/kinetic/setup.bash
rosdep install --from-paths src -i -r -n -y
catkin config --init
catkin build respeaker_ros
source ~/catkin_ws/devel/setup.bash
-
Register respeaker udev rules
Normally, we cannot access USB device without permission from user space. Using
udev, we can give the right permission on only respeaker device automatically.Please run the command as followings to install setting file:
roscd respeaker_ros
sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
sudo systemctl restart udev
And then re-connect the device.
- Update firmware
git clone https://github.com/respeaker/usb_4_mic_array.git
cd usb_4_mic_array
sudo python dfu.py --download 6_channels_firmware.bin # The 6 channels version
How to use
- Run executables
roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction # Result of DoA
rostopic echo /sound_localization # Result of DoA as Pose
rostopic echo /is_speeching # Result of VAD
rostopic echo /audio # Raw audio
rostopic echo /speech_audio # Audio data while speeching
rostopic echo /speech_to_text # Voice recognition
# Voice recognition result for Japanese
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic echo --filter "print('transcript: [%s]\n---'%(', '.join(map(str, m.transcript))))" /speech_to_text
rostopic echo /speech_to_text | ascii2uni -a U -q
You can also set various parameters via `dynamic_reconfigure`.
sudo apt install ros-kinetic-rqt-reconfigure # Install if not
rosrun rqt_reconfigure rqt_reconfigure
To set LED color, publish desired color:
rostopic pub /status_led std_msgs/ColorRGBA "r: 0.0
g: 0.0
b: 1.0
a: 0.3"
Use cases
Voice Recognition
File truncated at 100 lines see the full file
Changelog for package respeaker_ros
3.0.1 (2026-11-10)
- Merge pull request #583 from k-okada/rosdistro-55247-review rosdistro#55247 review: rename power_switching_tools_ros to jsk_power_switching_tools, fix licenses
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and Apache / "Apache License, Version 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55247 review). The LICENSE files of all of them are BSD 3-Clause and Apache 2.0 respectively. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.0 (2026-11-06)
-
Merge pull request #581 from k-okada/ros2-buildfarm-ros-environment Fix ROS2 buildfarm binary jobs: ros_environment, bundled flac, numpy wheel
-
[ros_speech_recognition, respeaker_ros] remove flac binaries bundled with SpeechRecognition from the uv venv The 32bit flac-linux-x86 fails dh_shlibdeps of the buildfarm binary job. SpeechRecognition uses the flac in PATH first, which is an exec_depend. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[voicevox, chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, ros_speech_recognition, rospatlite, sesame_ros, switchbot_ros] depend on ros_environment for ROS2 buildfarm The buildfarm builds each package with only its own build dependencies, so without ros_environment $ROS_VERSION is empty and CMakeLists.txt takes the ROS1 branch (same as jsk_common#1835). voicevox also guesses ROS_VERSION from AMENT_PREFIX_PATH when it is unset. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into fix_hoya
-
Merge branch 'master' into voicevox-ros1-ros2
-
AMENT_IGNORE: do not add AMENT_IGNORE to packages already ported to ROS2 chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros and switchbot_ros are already ROS2 packages on master, so this PR must not AMENT_IGNORE them. Also remove ros_speech_recognition/AMENT_IGNORE, as this PR ports it to ROS2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into ros2-speech-recognition-only
-
Merge pull request #575 from k-okada/ros2-support Add ROS2 (jazzy) support to chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros, switchbot_ros
-
[GA] add ROS2 (jazzy) CI and AMENT_IGNORE packages not yet ported to ROS2
- ros2.yaml: industrial_ci on jazzy. The ROS2 ports depend on jsk_ros1_ros2_compat >= 3.0.2 (jsk_common), installed by rosdep from its jazzy release.
- AMENT_IGNORE the packages not ported to ROS2 yet.
- config.yml: AMENT_IGNORE is treated as CATKIN_IGNORE by rosdep's package discovery, so remove them before rosdep install in the ROS1 jobs (same as jsk_common). Also set ROS_VERSION=1 for indigo, which predates ros_environment. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[respeaker_ros] add ROS2 support Single package.xml/CMakeLists.txt branched on $ROS_VERSION, same as the other ROS2-ported packages in this repository.
- CMakeLists.txt: the ROS2 block is prepended and the ROS1 original is wrapped in else()/endif() unchanged (no re-indentation). SpeechRecognition, pyusb and pixel-ring are not available from apt and catkin_virtualenv has no ROS2 port, so they go into a uv venv made from pyproject.toml/uv.lock with jsk_ros1_ros2_compat_generate_uv_venv(), and respeaker_node.py/ speech_to_text.py are installed with jsk_ros1_ros2_compat_install_python(... USE_VENV). numpy and pyaudio stay on apt (rclpy's message typesupport is built against the system numpy).
- package.xml: $ROS_VERSION conditions; ROS2 adds rclpy, tf_transformations (for tf.transformations), action_msgs/sound_play_msgs (speech_to_text.py) and jsk_ros1_ros2_compat >= 3.0.2 (jsk-ros-pkg/jsk_common#1831).
- Python: the original rospy code is kept as is for its ROS1 users (RespeakerInterface, RespeakerAudio, RespeakerNode, SpeechToText and the __main_ blocks, used when jsk_ros1_ros2_compat, i.e. jsk_common >= 3.0, is not available), and a version written with jsk_ros1_ros2_compat's rospy_rclpy_compat is added next to each of them, used on ROS2 and on ROS1 with jsk_ros1_ros2_compat. Only the imports that do not exist on ROS2 (rospy, dynamic_reconfigure, actionlib, tf, sound_play) and the __main_ conditions of the
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
- launch/sample_respeaker.launch.xml
- ROS2 version of sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
Messages
Services
Plugins
Recent questions tagged respeaker_ros at Robotics Stack Exchange
|
respeaker_ros package from jsk_3rdparty repovoicevox chaplus_ros emotion_analyzer gdrive_ros google_chat_ros influxdb_store jsk_power_switching_tools respeaker_ros ros_speech_recognition rospatlite sesame_ros switchbot_ros |
ROS Distro
|
Package Summary
| Version | 3.0.1 |
| License | Apache-2.0 |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2026-11-13 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Yuki Furuta
Authors
- Yuki Furuta
respeaker_ros
A ROS Package for Respeaker Mic Array
Supported Devices
Preparation
-
Install this package
Assumed that ROS is properly installed.
You can install this package via
apt-get.
sudo apt-get install ros-$ROS_DISTRO-respeaker-ros
Or you can also build from the source.
mkdir -p ~/catkin_ws/src && ~/catkin_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
cd ~/catkin_ws
source /opt/ros/kinetic/setup.bash
rosdep install --from-paths src -i -r -n -y
catkin config --init
catkin build respeaker_ros
source ~/catkin_ws/devel/setup.bash
-
Register respeaker udev rules
Normally, we cannot access USB device without permission from user space. Using
udev, we can give the right permission on only respeaker device automatically.Please run the command as followings to install setting file:
roscd respeaker_ros
sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
sudo systemctl restart udev
And then re-connect the device.
- Update firmware
git clone https://github.com/respeaker/usb_4_mic_array.git
cd usb_4_mic_array
sudo python dfu.py --download 6_channels_firmware.bin # The 6 channels version
How to use
- Run executables
roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction # Result of DoA
rostopic echo /sound_localization # Result of DoA as Pose
rostopic echo /is_speeching # Result of VAD
rostopic echo /audio # Raw audio
rostopic echo /speech_audio # Audio data while speeching
rostopic echo /speech_to_text # Voice recognition
# Voice recognition result for Japanese
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic echo --filter "print('transcript: [%s]\n---'%(', '.join(map(str, m.transcript))))" /speech_to_text
rostopic echo /speech_to_text | ascii2uni -a U -q
You can also set various parameters via `dynamic_reconfigure`.
sudo apt install ros-kinetic-rqt-reconfigure # Install if not
rosrun rqt_reconfigure rqt_reconfigure
To set LED color, publish desired color:
rostopic pub /status_led std_msgs/ColorRGBA "r: 0.0
g: 0.0
b: 1.0
a: 0.3"
Use cases
Voice Recognition
File truncated at 100 lines see the full file
Changelog for package respeaker_ros
3.0.1 (2026-11-10)
- Merge pull request #583 from k-okada/rosdistro-55247-review rosdistro#55247 review: rename power_switching_tools_ros to jsk_power_switching_tools, fix licenses
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and Apache / "Apache License, Version 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55247 review). The LICENSE files of all of them are BSD 3-Clause and Apache 2.0 respectively. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.0 (2026-11-06)
-
Merge pull request #581 from k-okada/ros2-buildfarm-ros-environment Fix ROS2 buildfarm binary jobs: ros_environment, bundled flac, numpy wheel
-
[ros_speech_recognition, respeaker_ros] remove flac binaries bundled with SpeechRecognition from the uv venv The 32bit flac-linux-x86 fails dh_shlibdeps of the buildfarm binary job. SpeechRecognition uses the flac in PATH first, which is an exec_depend. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[voicevox, chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, ros_speech_recognition, rospatlite, sesame_ros, switchbot_ros] depend on ros_environment for ROS2 buildfarm The buildfarm builds each package with only its own build dependencies, so without ros_environment $ROS_VERSION is empty and CMakeLists.txt takes the ROS1 branch (same as jsk_common#1835). voicevox also guesses ROS_VERSION from AMENT_PREFIX_PATH when it is unset. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into fix_hoya
-
Merge branch 'master' into voicevox-ros1-ros2
-
AMENT_IGNORE: do not add AMENT_IGNORE to packages already ported to ROS2 chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros and switchbot_ros are already ROS2 packages on master, so this PR must not AMENT_IGNORE them. Also remove ros_speech_recognition/AMENT_IGNORE, as this PR ports it to ROS2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Merge branch 'master' into ros2-speech-recognition-only
-
Merge pull request #575 from k-okada/ros2-support Add ROS2 (jazzy) support to chaplus_ros, emotion_analyzer, gdrive_ros, google_chat_ros, influxdb_store, power_switching_tools_ros, respeaker_ros, rospatlite, sesame_ros, switchbot_ros
-
[GA] add ROS2 (jazzy) CI and AMENT_IGNORE packages not yet ported to ROS2
- ros2.yaml: industrial_ci on jazzy. The ROS2 ports depend on jsk_ros1_ros2_compat >= 3.0.2 (jsk_common), installed by rosdep from its jazzy release.
- AMENT_IGNORE the packages not ported to ROS2 yet.
- config.yml: AMENT_IGNORE is treated as CATKIN_IGNORE by rosdep's package discovery, so remove them before rosdep install in the ROS1 jobs (same as jsk_common). Also set ROS_VERSION=1 for indigo, which predates ros_environment. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[respeaker_ros] add ROS2 support Single package.xml/CMakeLists.txt branched on $ROS_VERSION, same as the other ROS2-ported packages in this repository.
- CMakeLists.txt: the ROS2 block is prepended and the ROS1 original is wrapped in else()/endif() unchanged (no re-indentation). SpeechRecognition, pyusb and pixel-ring are not available from apt and catkin_virtualenv has no ROS2 port, so they go into a uv venv made from pyproject.toml/uv.lock with jsk_ros1_ros2_compat_generate_uv_venv(), and respeaker_node.py/ speech_to_text.py are installed with jsk_ros1_ros2_compat_install_python(... USE_VENV). numpy and pyaudio stay on apt (rclpy's message typesupport is built against the system numpy).
- package.xml: $ROS_VERSION conditions; ROS2 adds rclpy, tf_transformations (for tf.transformations), action_msgs/sound_play_msgs (speech_to_text.py) and jsk_ros1_ros2_compat >= 3.0.2 (jsk-ros-pkg/jsk_common#1831).
- Python: the original rospy code is kept as is for its ROS1 users (RespeakerInterface, RespeakerAudio, RespeakerNode, SpeechToText and the __main_ blocks, used when jsk_ros1_ros2_compat, i.e. jsk_common >= 3.0, is not available), and a version written with jsk_ros1_ros2_compat's rospy_rclpy_compat is added next to each of them, used on ROS2 and on ROS1 with jsk_ros1_ros2_compat. Only the imports that do not exist on ROS2 (rospy, dynamic_reconfigure, actionlib, tf, sound_play) and the __main_ conditions of the
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
- launch/sample_respeaker.launch.xml
- ROS2 version of sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
Messages
Services
Plugins
Recent questions tagged respeaker_ros at Robotics Stack Exchange
|
respeaker_ros package from quori_ros repoquori_arm_controller quori_controller quori_description quori_face quori_holonomic_drive_controller quori_launch quori_mapping_odometry quori_nav quori_teleop respeaker_ros |
ROS Distro
|
Package Summary
| Version | 2.1.24 |
| License | Apache |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/Quori-ROS/quori_ros.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2021-12-16 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Yuki Furuta
Authors
- Yuki Furuta
respeaker_ros
A ROS Package for Respeaker Mic Array
Supported Devices
Preparation
-
Install this package
Assumed that ROS is properly installed.
You can install this package via
apt-get.
sudo apt-get install ros-$ROS_DISTRO-respeaker-ros
Or you can also build from the source.
mkdir -p ~/catkin_ws/src && ~/catkin_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
cd ~/catkin_ws
source /opt/ros/kinetic/setup.bash
rosdep install --from-paths src -i -r -n -y
catkin config --init
catkin build respeaker_ros
source ~/catkin_ws/devel/setup.bash
-
Register respeaker udev rules
Normally, we cannot access USB device without permission from user space. Using
udev, we can give the right permission on only respeaker device automatically.Please run the command as followings to install setting file:
roscd respeaker_ros
sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
sudo systemctl restart udev
And then re-connect the device.
- Update firmware
git clone https://github.com/respeaker/usb_4_mic_array.git
cd usb_4_mic_array
sudo python dfu.py --download 6_channels_firmware.bin # The 6 channels version
How to use
- Run executables
roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction # Result of DoA
rostopic echo /sound_localization # Result of DoA as Pose
rostopic echo /is_speeching # Result of VAD
rostopic echo /audio # Raw audio
rostopic echo /speech_audio # Audio data while speeching
You can also set various parameters via `dynamic_reconfigure`.
sudo apt install ros-kinetic-rqt-reconfigure # Install if not
rosrun rqt_reconfigure rqt_reconfigure
To set LED color, publish desired color:
rostopic pub /status_led std_msgs/ColorRGBA "r: 0.0
g: 0.0
b: 1.0
a: 0.3"
Use cases
Voice Recognition
Notes
The configuration file for dynamic_reconfigure in this package is created automatically by reading the parameters from devices.
Though it will be rare case, the configuration file can be updated as followings:
File truncated at 100 lines see the full file
Changelog for package respeaker_ros
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
2.1.22 (2021-06-10)
-
[respeaker_ros] Specify correct Python version in package.xml (#247)
- Fixes typo introduced in https://github.com/jsk-ros-pkg/jsk_3rdparty/commit/39be21894a38112a1633cf8385caf079c35536ff
-
Add respawn_delay to respeaker_node.py to reduce CPU load (#241)
- Kill respeaker_node.py when USBError occur to reduce CPU load
-
[respeaker_ros] fix default sound_play action name of speech_to_text.py (#239)
-
Mistakes I found when I tried to use respeaker_ros on hirovision (#217)
- add speech_recognition_msgs
- change the name from respeaker.launch to sample_respeaker.launch
-
Contributors: Koki Shinjo, Miyabi Tanemoto, Naoya Yamaguchi, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
- Fix for noetic
(#200)
- respeaker_ros: use catkin_install_python to install scripts
- fix 2to3, with print, raise, exception
- use package.xml format 3 for package contains python depends
- [respeaker_ros] use rospy.logerr instead of print (#206)
- Add args to ros_speech_recognition
(#197)
- [respeaker_ros] update run_depend and test file to pass travis test properly
- Contributors: Kei Okada, Naoya Yamaguchi, Shingo Kitagawa
2.1.17 (2020-04-16)
2.1.16 (2020-04-16)
- [respeaker_ros] increase timeout to pass the test https://api.travis-ci.org/v3/job/554008643/log.txt
- Contributors: Kei Okada
2.1.15 (2019-12-12)
- [respeaker_ros] add pixel-ring in run_depend of respeaker_ros (#184)
- [respeaker_ros] install config dir in respeaker_ros (#185)
- Contributors: Shingo Kitagawa
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
- [respeaker_ros] increase timeout to pass the test
(#170)
- default tts_action_names should be soundplay
- [respeaker_ros] increase timeout to pass the test https://api.travis-ci.org/v3/job/554008643/log.txt
- [respeaker_ros] add python-speechrocognition-pip to package.depends, because scripts/speech_to_text.py depends on it
- [respeaker_ros] Add test file for speech_to_text
(#164)
- add test file for speech_to_text
- [respeaker_ros] add tts_action_names param: do not listen when the
robot is speaking either japanese or english
(#168)
- add tts_actions param: do not listen when the robot is speaking either japanese or english
- Contributors: Naoya Yamaguchi, Shingo Kitagawa
2.1.12 (2019-05-25)
- Make sample_respeaker.launch re-usable
(#161)
- [respeaker_ros] add docs for each args in sample_respeaker.launch
- make sample_respeaker.launch re-usable
- respeaker_ros: cleanup error messages (#155)
- Contributors: Yuki Furuta, Kei Okada, Naoya Yamaguchi
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| dynamic_reconfigure | |
| catkin | |
| angles | |
| audio_common_msgs | |
| geometry_msgs | |
| std_msgs | |
| speech_recognition_msgs | |
| tf | |
| python-numpy | |
| python-pixel-ring-pip | |
| python-pyaudio | |
| python-pyusb-pip | |
| python-speechrecognition-pip | |
| jsk_tools |
System Dependencies
Dependant Packages
Launch files
- launch/sample_respeaker.launch
-
- publish_tf [default: true]
- launch_respeaker [default: true]
- launch_soundplay [default: true]
- audio [default: speech_audio]
- speech_to_text [default: speech_to_text]
- language [default: en-US]
- self_cancellation [default: true]
