No version for distro humble showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.2
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-12-05
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The respeaker_ros package

Maintainers

  • Yuki Furuta

Authors

  • Yuki Furuta

respeaker_ros

A ROS package for the ReSpeaker Mic Array v2.0. respeaker_node.py publishes the audio of the microphone array, voice activity (VAD), the direction of arrival (DoA) of the sound and the audio of each utterance, controls the LEDs, and exposes the parameters of the DSP of the device. speech_to_text.py sends each utterance to the Google Web Speech API (through SpeechRecognition) and publishes the text. The same scripts run on ROS 1 and ROS 2.

Supported Devices

Requirements

  • The device, with the 6 channels firmware (see Preparation).
  • speech_to_text.py needs internet access to the Google Web Speech API (no key is needed).
  • SpeechRecognition, pyusb and pixel-ring are installed into a virtualenv of the package at build time (ROS 1: catkin_virtualenv with requirements.txt; ROS 2: uv with pyproject.toml/uv.lock, run uv lock after changing pyproject.toml).

Preparation

  1. Install this package
    sudo apt install ros-$ROS_DISTRO-respeaker-ros
    
or build it from source (`catkin build respeaker_ros` on ROS 1, `colcon build --packages-up-to respeaker_ros`
on ROS 2).
  1. Register the udev rule config/60-respeaker.rules (MODE:="0666" for the USB device 2886:0018), so that the device can be accessed without root: copy it, reload the rules and apply them to the connected device (or re-connect the device)
    # ROS 1
    sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # ROS 2
    sudo cp -f $(ros2 pkg prefix respeaker_ros)/share/respeaker_ros/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # both
    sudo udevadm control --reload-rules && sudo udevadm trigger
    
  1. Update the firmware to the 6 channels version
    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
    

Usage

ROS 2

ros2 launch respeaker_ros sample_respeaker.launch.xml
# for Japanese
ros2 launch respeaker_ros sample_respeaker.launch.xml language:=ja-JP
ros2 topic echo /sound_direction       # DoA [deg]
ros2 topic echo /sound_localization    # DoA as a pose
ros2 topic echo /is_speeching          # VAD
ros2 topic echo /speech_to_text        # recognized text
# LED color (back to the DoA display after 3 seconds)
ros2 topic pub --once /status_led std_msgs/msg/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
# a parameter of the device (instead of dynamic_reconfigure)
ros2 param set /respeaker_node AGCGAIN 5.5

ROS 1

roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction
rostopic echo /speech_to_text
# Japanese results
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic pub --once /status_led std_msgs/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
rosrun rqt_reconfigure rqt_reconfigure   # parameters of the device

Launch arguments (sample_respeaker.launch / sample_respeaker.launch.xml)

Argument Default Meaning
publish_tf true Publish a static TF map -> respeaker_base (ROS 1: tf, ROS 2: tf2_ros)
launch_respeaker true Launch respeaker_node
launch_soundplay true Launch sound_play (its action sound_play is used for self cancellation)
audio speech_audio Input audio topic of speech_to_text
speech_to_text speech_to_text Output topic of speech_to_text
language en-US Language of the recognition
self_cancellation true Ignore the audio while sound_play is speaking

speech_to_text is launched with tts_tolerance: 0.5.

Interface

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package respeaker_ros

3.0.2 (2026-11-26)

  • Merge pull request #602 from k-okada/license-bundled-components Declare the licenses of bundled components (hume, pixel-ring, Vosk models)
  • respeaker_ros: declare GPL-2.0-only for pixel-ring bundled in the venv On ROS 2, pixel-ring 0.1.0 (GNU General Public License v2) is installed into share/respeaker_ros/venv, so add it to package.xml and LICENSE. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #594 from k-okada/fix-error-handling
  • respeaker_ros: add missing ROS 2 exec_depend on tf2_ros sample_respeaker.launch.xml (ROS 2) runs tf2_ros static_transform_publisher, but package.xml declared tf2_ros nowhere, so rosdep did not install it with the package. Add it with condition="$ROS_VERSION == 2"; ROS 1 keeps using tf (already declared) from sample_respeaker.launch, so ROS 1 dependencies are unchanged. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #595 from k-okada/readme-update Update the READMEs for ROS 1 / ROS 2, with badges and demos
  • respeaker_ros: reload the udev rules with udevadm in README.md After copying config/60-respeaker.rules, reload the rules and apply them to the connected device with "udevadm control --reload-rules" and "udevadm trigger", instead of "systemctl restart udev", which does not apply the new rule to a device already connected. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • respeaker_ros: update README.md for ROS 1 / ROS 2 Describe how to run it on ROS 2 and ROS 1, its interface (topics, services, actions, parameters) as in the source, and its requirements. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #584 from k-okada/release-3.0.1
  • Contributors: Kei Okada

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,

File truncated at 100 lines see the full file

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

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged respeaker_ros at Robotics Stack Exchange

Package Summary

Version 3.0.2
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-12-05
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The respeaker_ros package

Maintainers

  • Yuki Furuta

Authors

  • Yuki Furuta

respeaker_ros

A ROS package for the ReSpeaker Mic Array v2.0. respeaker_node.py publishes the audio of the microphone array, voice activity (VAD), the direction of arrival (DoA) of the sound and the audio of each utterance, controls the LEDs, and exposes the parameters of the DSP of the device. speech_to_text.py sends each utterance to the Google Web Speech API (through SpeechRecognition) and publishes the text. The same scripts run on ROS 1 and ROS 2.

Supported Devices

Requirements

  • The device, with the 6 channels firmware (see Preparation).
  • speech_to_text.py needs internet access to the Google Web Speech API (no key is needed).
  • SpeechRecognition, pyusb and pixel-ring are installed into a virtualenv of the package at build time (ROS 1: catkin_virtualenv with requirements.txt; ROS 2: uv with pyproject.toml/uv.lock, run uv lock after changing pyproject.toml).

Preparation

  1. Install this package
    sudo apt install ros-$ROS_DISTRO-respeaker-ros
    
or build it from source (`catkin build respeaker_ros` on ROS 1, `colcon build --packages-up-to respeaker_ros`
on ROS 2).
  1. Register the udev rule config/60-respeaker.rules (MODE:="0666" for the USB device 2886:0018), so that the device can be accessed without root: copy it, reload the rules and apply them to the connected device (or re-connect the device)
    # ROS 1
    sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # ROS 2
    sudo cp -f $(ros2 pkg prefix respeaker_ros)/share/respeaker_ros/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # both
    sudo udevadm control --reload-rules && sudo udevadm trigger
    
  1. Update the firmware to the 6 channels version
    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
    

Usage

ROS 2

ros2 launch respeaker_ros sample_respeaker.launch.xml
# for Japanese
ros2 launch respeaker_ros sample_respeaker.launch.xml language:=ja-JP
ros2 topic echo /sound_direction       # DoA [deg]
ros2 topic echo /sound_localization    # DoA as a pose
ros2 topic echo /is_speeching          # VAD
ros2 topic echo /speech_to_text        # recognized text
# LED color (back to the DoA display after 3 seconds)
ros2 topic pub --once /status_led std_msgs/msg/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
# a parameter of the device (instead of dynamic_reconfigure)
ros2 param set /respeaker_node AGCGAIN 5.5

ROS 1

roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction
rostopic echo /speech_to_text
# Japanese results
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic pub --once /status_led std_msgs/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
rosrun rqt_reconfigure rqt_reconfigure   # parameters of the device

Launch arguments (sample_respeaker.launch / sample_respeaker.launch.xml)

Argument Default Meaning
publish_tf true Publish a static TF map -> respeaker_base (ROS 1: tf, ROS 2: tf2_ros)
launch_respeaker true Launch respeaker_node
launch_soundplay true Launch sound_play (its action sound_play is used for self cancellation)
audio speech_audio Input audio topic of speech_to_text
speech_to_text speech_to_text Output topic of speech_to_text
language en-US Language of the recognition
self_cancellation true Ignore the audio while sound_play is speaking

speech_to_text is launched with tts_tolerance: 0.5.

Interface

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package respeaker_ros

3.0.2 (2026-11-26)

  • Merge pull request #602 from k-okada/license-bundled-components Declare the licenses of bundled components (hume, pixel-ring, Vosk models)
  • respeaker_ros: declare GPL-2.0-only for pixel-ring bundled in the venv On ROS 2, pixel-ring 0.1.0 (GNU General Public License v2) is installed into share/respeaker_ros/venv, so add it to package.xml and LICENSE. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #594 from k-okada/fix-error-handling
  • respeaker_ros: add missing ROS 2 exec_depend on tf2_ros sample_respeaker.launch.xml (ROS 2) runs tf2_ros static_transform_publisher, but package.xml declared tf2_ros nowhere, so rosdep did not install it with the package. Add it with condition="$ROS_VERSION == 2"; ROS 1 keeps using tf (already declared) from sample_respeaker.launch, so ROS 1 dependencies are unchanged. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #595 from k-okada/readme-update Update the READMEs for ROS 1 / ROS 2, with badges and demos
  • respeaker_ros: reload the udev rules with udevadm in README.md After copying config/60-respeaker.rules, reload the rules and apply them to the connected device with "udevadm control --reload-rules" and "udevadm trigger", instead of "systemctl restart udev", which does not apply the new rule to a device already connected. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • respeaker_ros: update README.md for ROS 1 / ROS 2 Describe how to run it on ROS 2 and ROS 1, its interface (topics, services, actions, parameters) as in the source, and its requirements. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #584 from k-okada/release-3.0.1
  • Contributors: Kei Okada

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,

File truncated at 100 lines see the full file

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

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged respeaker_ros at Robotics Stack Exchange

Package Summary

Version 3.0.2
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-12-05
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The respeaker_ros package

Maintainers

  • Yuki Furuta

Authors

  • Yuki Furuta

respeaker_ros

A ROS package for the ReSpeaker Mic Array v2.0. respeaker_node.py publishes the audio of the microphone array, voice activity (VAD), the direction of arrival (DoA) of the sound and the audio of each utterance, controls the LEDs, and exposes the parameters of the DSP of the device. speech_to_text.py sends each utterance to the Google Web Speech API (through SpeechRecognition) and publishes the text. The same scripts run on ROS 1 and ROS 2.

Supported Devices

Requirements

  • The device, with the 6 channels firmware (see Preparation).
  • speech_to_text.py needs internet access to the Google Web Speech API (no key is needed).
  • SpeechRecognition, pyusb and pixel-ring are installed into a virtualenv of the package at build time (ROS 1: catkin_virtualenv with requirements.txt; ROS 2: uv with pyproject.toml/uv.lock, run uv lock after changing pyproject.toml).

Preparation

  1. Install this package
    sudo apt install ros-$ROS_DISTRO-respeaker-ros
    
or build it from source (`catkin build respeaker_ros` on ROS 1, `colcon build --packages-up-to respeaker_ros`
on ROS 2).
  1. Register the udev rule config/60-respeaker.rules (MODE:="0666" for the USB device 2886:0018), so that the device can be accessed without root: copy it, reload the rules and apply them to the connected device (or re-connect the device)
    # ROS 1
    sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # ROS 2
    sudo cp -f $(ros2 pkg prefix respeaker_ros)/share/respeaker_ros/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # both
    sudo udevadm control --reload-rules && sudo udevadm trigger
    
  1. Update the firmware to the 6 channels version
    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
    

Usage

ROS 2

ros2 launch respeaker_ros sample_respeaker.launch.xml
# for Japanese
ros2 launch respeaker_ros sample_respeaker.launch.xml language:=ja-JP
ros2 topic echo /sound_direction       # DoA [deg]
ros2 topic echo /sound_localization    # DoA as a pose
ros2 topic echo /is_speeching          # VAD
ros2 topic echo /speech_to_text        # recognized text
# LED color (back to the DoA display after 3 seconds)
ros2 topic pub --once /status_led std_msgs/msg/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
# a parameter of the device (instead of dynamic_reconfigure)
ros2 param set /respeaker_node AGCGAIN 5.5

ROS 1

roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction
rostopic echo /speech_to_text
# Japanese results
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic pub --once /status_led std_msgs/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
rosrun rqt_reconfigure rqt_reconfigure   # parameters of the device

Launch arguments (sample_respeaker.launch / sample_respeaker.launch.xml)

Argument Default Meaning
publish_tf true Publish a static TF map -> respeaker_base (ROS 1: tf, ROS 2: tf2_ros)
launch_respeaker true Launch respeaker_node
launch_soundplay true Launch sound_play (its action sound_play is used for self cancellation)
audio speech_audio Input audio topic of speech_to_text
speech_to_text speech_to_text Output topic of speech_to_text
language en-US Language of the recognition
self_cancellation true Ignore the audio while sound_play is speaking

speech_to_text is launched with tts_tolerance: 0.5.

Interface

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package respeaker_ros

3.0.2 (2026-11-26)

  • Merge pull request #602 from k-okada/license-bundled-components Declare the licenses of bundled components (hume, pixel-ring, Vosk models)
  • respeaker_ros: declare GPL-2.0-only for pixel-ring bundled in the venv On ROS 2, pixel-ring 0.1.0 (GNU General Public License v2) is installed into share/respeaker_ros/venv, so add it to package.xml and LICENSE. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #594 from k-okada/fix-error-handling
  • respeaker_ros: add missing ROS 2 exec_depend on tf2_ros sample_respeaker.launch.xml (ROS 2) runs tf2_ros static_transform_publisher, but package.xml declared tf2_ros nowhere, so rosdep did not install it with the package. Add it with condition="$ROS_VERSION == 2"; ROS 1 keeps using tf (already declared) from sample_respeaker.launch, so ROS 1 dependencies are unchanged. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #595 from k-okada/readme-update Update the READMEs for ROS 1 / ROS 2, with badges and demos
  • respeaker_ros: reload the udev rules with udevadm in README.md After copying config/60-respeaker.rules, reload the rules and apply them to the connected device with "udevadm control --reload-rules" and "udevadm trigger", instead of "systemctl restart udev", which does not apply the new rule to a device already connected. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • respeaker_ros: update README.md for ROS 1 / ROS 2 Describe how to run it on ROS 2 and ROS 1, its interface (topics, services, actions, parameters) as in the source, and its requirements. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #584 from k-okada/release-3.0.1
  • Contributors: Kei Okada

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,

File truncated at 100 lines see the full file

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

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged respeaker_ros at Robotics Stack Exchange

Package Summary

Version 3.0.2
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-12-05
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The respeaker_ros package

Maintainers

  • Yuki Furuta

Authors

  • Yuki Furuta

respeaker_ros

A ROS package for the ReSpeaker Mic Array v2.0. respeaker_node.py publishes the audio of the microphone array, voice activity (VAD), the direction of arrival (DoA) of the sound and the audio of each utterance, controls the LEDs, and exposes the parameters of the DSP of the device. speech_to_text.py sends each utterance to the Google Web Speech API (through SpeechRecognition) and publishes the text. The same scripts run on ROS 1 and ROS 2.

Supported Devices

Requirements

  • The device, with the 6 channels firmware (see Preparation).
  • speech_to_text.py needs internet access to the Google Web Speech API (no key is needed).
  • SpeechRecognition, pyusb and pixel-ring are installed into a virtualenv of the package at build time (ROS 1: catkin_virtualenv with requirements.txt; ROS 2: uv with pyproject.toml/uv.lock, run uv lock after changing pyproject.toml).

Preparation

  1. Install this package
    sudo apt install ros-$ROS_DISTRO-respeaker-ros
    
or build it from source (`catkin build respeaker_ros` on ROS 1, `colcon build --packages-up-to respeaker_ros`
on ROS 2).
  1. Register the udev rule config/60-respeaker.rules (MODE:="0666" for the USB device 2886:0018), so that the device can be accessed without root: copy it, reload the rules and apply them to the connected device (or re-connect the device)
    # ROS 1
    sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # ROS 2
    sudo cp -f $(ros2 pkg prefix respeaker_ros)/share/respeaker_ros/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # both
    sudo udevadm control --reload-rules && sudo udevadm trigger
    
  1. Update the firmware to the 6 channels version
    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
    

Usage

ROS 2

ros2 launch respeaker_ros sample_respeaker.launch.xml
# for Japanese
ros2 launch respeaker_ros sample_respeaker.launch.xml language:=ja-JP
ros2 topic echo /sound_direction       # DoA [deg]
ros2 topic echo /sound_localization    # DoA as a pose
ros2 topic echo /is_speeching          # VAD
ros2 topic echo /speech_to_text        # recognized text
# LED color (back to the DoA display after 3 seconds)
ros2 topic pub --once /status_led std_msgs/msg/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
# a parameter of the device (instead of dynamic_reconfigure)
ros2 param set /respeaker_node AGCGAIN 5.5

ROS 1

roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction
rostopic echo /speech_to_text
# Japanese results
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic pub --once /status_led std_msgs/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
rosrun rqt_reconfigure rqt_reconfigure   # parameters of the device

Launch arguments (sample_respeaker.launch / sample_respeaker.launch.xml)

Argument Default Meaning
publish_tf true Publish a static TF map -> respeaker_base (ROS 1: tf, ROS 2: tf2_ros)
launch_respeaker true Launch respeaker_node
launch_soundplay true Launch sound_play (its action sound_play is used for self cancellation)
audio speech_audio Input audio topic of speech_to_text
speech_to_text speech_to_text Output topic of speech_to_text
language en-US Language of the recognition
self_cancellation true Ignore the audio while sound_play is speaking

speech_to_text is launched with tts_tolerance: 0.5.

Interface

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package respeaker_ros

3.0.2 (2026-11-26)

  • Merge pull request #602 from k-okada/license-bundled-components Declare the licenses of bundled components (hume, pixel-ring, Vosk models)
  • respeaker_ros: declare GPL-2.0-only for pixel-ring bundled in the venv On ROS 2, pixel-ring 0.1.0 (GNU General Public License v2) is installed into share/respeaker_ros/venv, so add it to package.xml and LICENSE. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #594 from k-okada/fix-error-handling
  • respeaker_ros: add missing ROS 2 exec_depend on tf2_ros sample_respeaker.launch.xml (ROS 2) runs tf2_ros static_transform_publisher, but package.xml declared tf2_ros nowhere, so rosdep did not install it with the package. Add it with condition="$ROS_VERSION == 2"; ROS 1 keeps using tf (already declared) from sample_respeaker.launch, so ROS 1 dependencies are unchanged. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #595 from k-okada/readme-update Update the READMEs for ROS 1 / ROS 2, with badges and demos
  • respeaker_ros: reload the udev rules with udevadm in README.md After copying config/60-respeaker.rules, reload the rules and apply them to the connected device with "udevadm control --reload-rules" and "udevadm trigger", instead of "systemctl restart udev", which does not apply the new rule to a device already connected. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • respeaker_ros: update README.md for ROS 1 / ROS 2 Describe how to run it on ROS 2 and ROS 1, its interface (topics, services, actions, parameters) as in the source, and its requirements. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #584 from k-okada/release-3.0.1
  • Contributors: Kei Okada

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,

File truncated at 100 lines see the full file

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

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged respeaker_ros at Robotics Stack Exchange

No version for distro rolling showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.2
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-12-05
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The respeaker_ros package

Maintainers

  • Yuki Furuta

Authors

  • Yuki Furuta

respeaker_ros

A ROS package for the ReSpeaker Mic Array v2.0. respeaker_node.py publishes the audio of the microphone array, voice activity (VAD), the direction of arrival (DoA) of the sound and the audio of each utterance, controls the LEDs, and exposes the parameters of the DSP of the device. speech_to_text.py sends each utterance to the Google Web Speech API (through SpeechRecognition) and publishes the text. The same scripts run on ROS 1 and ROS 2.

Supported Devices

Requirements

  • The device, with the 6 channels firmware (see Preparation).
  • speech_to_text.py needs internet access to the Google Web Speech API (no key is needed).
  • SpeechRecognition, pyusb and pixel-ring are installed into a virtualenv of the package at build time (ROS 1: catkin_virtualenv with requirements.txt; ROS 2: uv with pyproject.toml/uv.lock, run uv lock after changing pyproject.toml).

Preparation

  1. Install this package
    sudo apt install ros-$ROS_DISTRO-respeaker-ros
    
or build it from source (`catkin build respeaker_ros` on ROS 1, `colcon build --packages-up-to respeaker_ros`
on ROS 2).
  1. Register the udev rule config/60-respeaker.rules (MODE:="0666" for the USB device 2886:0018), so that the device can be accessed without root: copy it, reload the rules and apply them to the connected device (or re-connect the device)
    # ROS 1
    sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # ROS 2
    sudo cp -f $(ros2 pkg prefix respeaker_ros)/share/respeaker_ros/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # both
    sudo udevadm control --reload-rules && sudo udevadm trigger
    
  1. Update the firmware to the 6 channels version
    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
    

Usage

ROS 2

ros2 launch respeaker_ros sample_respeaker.launch.xml
# for Japanese
ros2 launch respeaker_ros sample_respeaker.launch.xml language:=ja-JP
ros2 topic echo /sound_direction       # DoA [deg]
ros2 topic echo /sound_localization    # DoA as a pose
ros2 topic echo /is_speeching          # VAD
ros2 topic echo /speech_to_text        # recognized text
# LED color (back to the DoA display after 3 seconds)
ros2 topic pub --once /status_led std_msgs/msg/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
# a parameter of the device (instead of dynamic_reconfigure)
ros2 param set /respeaker_node AGCGAIN 5.5

ROS 1

roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction
rostopic echo /speech_to_text
# Japanese results
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic pub --once /status_led std_msgs/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
rosrun rqt_reconfigure rqt_reconfigure   # parameters of the device

Launch arguments (sample_respeaker.launch / sample_respeaker.launch.xml)

Argument Default Meaning
publish_tf true Publish a static TF map -> respeaker_base (ROS 1: tf, ROS 2: tf2_ros)
launch_respeaker true Launch respeaker_node
launch_soundplay true Launch sound_play (its action sound_play is used for self cancellation)
audio speech_audio Input audio topic of speech_to_text
speech_to_text speech_to_text Output topic of speech_to_text
language en-US Language of the recognition
self_cancellation true Ignore the audio while sound_play is speaking

speech_to_text is launched with tts_tolerance: 0.5.

Interface

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package respeaker_ros

3.0.2 (2026-11-26)

  • Merge pull request #602 from k-okada/license-bundled-components Declare the licenses of bundled components (hume, pixel-ring, Vosk models)
  • respeaker_ros: declare GPL-2.0-only for pixel-ring bundled in the venv On ROS 2, pixel-ring 0.1.0 (GNU General Public License v2) is installed into share/respeaker_ros/venv, so add it to package.xml and LICENSE. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #594 from k-okada/fix-error-handling
  • respeaker_ros: add missing ROS 2 exec_depend on tf2_ros sample_respeaker.launch.xml (ROS 2) runs tf2_ros static_transform_publisher, but package.xml declared tf2_ros nowhere, so rosdep did not install it with the package. Add it with condition="$ROS_VERSION == 2"; ROS 1 keeps using tf (already declared) from sample_respeaker.launch, so ROS 1 dependencies are unchanged. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #595 from k-okada/readme-update Update the READMEs for ROS 1 / ROS 2, with badges and demos
  • respeaker_ros: reload the udev rules with udevadm in README.md After copying config/60-respeaker.rules, reload the rules and apply them to the connected device with "udevadm control --reload-rules" and "udevadm trigger", instead of "systemctl restart udev", which does not apply the new rule to a device already connected. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • respeaker_ros: update README.md for ROS 1 / ROS 2 Describe how to run it on ROS 2 and ROS 1, its interface (topics, services, actions, parameters) as in the source, and its requirements. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #584 from k-okada/release-3.0.1
  • Contributors: Kei Okada

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,

File truncated at 100 lines see the full file

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

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged respeaker_ros at Robotics Stack Exchange

No version for distro github showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.2
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-12-05
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The respeaker_ros package

Maintainers

  • Yuki Furuta

Authors

  • Yuki Furuta

respeaker_ros

A ROS package for the ReSpeaker Mic Array v2.0. respeaker_node.py publishes the audio of the microphone array, voice activity (VAD), the direction of arrival (DoA) of the sound and the audio of each utterance, controls the LEDs, and exposes the parameters of the DSP of the device. speech_to_text.py sends each utterance to the Google Web Speech API (through SpeechRecognition) and publishes the text. The same scripts run on ROS 1 and ROS 2.

Supported Devices

Requirements

  • The device, with the 6 channels firmware (see Preparation).
  • speech_to_text.py needs internet access to the Google Web Speech API (no key is needed).
  • SpeechRecognition, pyusb and pixel-ring are installed into a virtualenv of the package at build time (ROS 1: catkin_virtualenv with requirements.txt; ROS 2: uv with pyproject.toml/uv.lock, run uv lock after changing pyproject.toml).

Preparation

  1. Install this package
    sudo apt install ros-$ROS_DISTRO-respeaker-ros
    
or build it from source (`catkin build respeaker_ros` on ROS 1, `colcon build --packages-up-to respeaker_ros`
on ROS 2).
  1. Register the udev rule config/60-respeaker.rules (MODE:="0666" for the USB device 2886:0018), so that the device can be accessed without root: copy it, reload the rules and apply them to the connected device (or re-connect the device)
    # ROS 1
    sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # ROS 2
    sudo cp -f $(ros2 pkg prefix respeaker_ros)/share/respeaker_ros/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # both
    sudo udevadm control --reload-rules && sudo udevadm trigger
    
  1. Update the firmware to the 6 channels version
    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
    

Usage

ROS 2

ros2 launch respeaker_ros sample_respeaker.launch.xml
# for Japanese
ros2 launch respeaker_ros sample_respeaker.launch.xml language:=ja-JP
ros2 topic echo /sound_direction       # DoA [deg]
ros2 topic echo /sound_localization    # DoA as a pose
ros2 topic echo /is_speeching          # VAD
ros2 topic echo /speech_to_text        # recognized text
# LED color (back to the DoA display after 3 seconds)
ros2 topic pub --once /status_led std_msgs/msg/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
# a parameter of the device (instead of dynamic_reconfigure)
ros2 param set /respeaker_node AGCGAIN 5.5

ROS 1

roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction
rostopic echo /speech_to_text
# Japanese results
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic pub --once /status_led std_msgs/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
rosrun rqt_reconfigure rqt_reconfigure   # parameters of the device

Launch arguments (sample_respeaker.launch / sample_respeaker.launch.xml)

Argument Default Meaning
publish_tf true Publish a static TF map -> respeaker_base (ROS 1: tf, ROS 2: tf2_ros)
launch_respeaker true Launch respeaker_node
launch_soundplay true Launch sound_play (its action sound_play is used for self cancellation)
audio speech_audio Input audio topic of speech_to_text
speech_to_text speech_to_text Output topic of speech_to_text
language en-US Language of the recognition
self_cancellation true Ignore the audio while sound_play is speaking

speech_to_text is launched with tts_tolerance: 0.5.

Interface

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package respeaker_ros

3.0.2 (2026-11-26)

  • Merge pull request #602 from k-okada/license-bundled-components Declare the licenses of bundled components (hume, pixel-ring, Vosk models)
  • respeaker_ros: declare GPL-2.0-only for pixel-ring bundled in the venv On ROS 2, pixel-ring 0.1.0 (GNU General Public License v2) is installed into share/respeaker_ros/venv, so add it to package.xml and LICENSE. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #594 from k-okada/fix-error-handling
  • respeaker_ros: add missing ROS 2 exec_depend on tf2_ros sample_respeaker.launch.xml (ROS 2) runs tf2_ros static_transform_publisher, but package.xml declared tf2_ros nowhere, so rosdep did not install it with the package. Add it with condition="$ROS_VERSION == 2"; ROS 1 keeps using tf (already declared) from sample_respeaker.launch, so ROS 1 dependencies are unchanged. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #595 from k-okada/readme-update Update the READMEs for ROS 1 / ROS 2, with badges and demos
  • respeaker_ros: reload the udev rules with udevadm in README.md After copying config/60-respeaker.rules, reload the rules and apply them to the connected device with "udevadm control --reload-rules" and "udevadm trigger", instead of "systemctl restart udev", which does not apply the new rule to a device already connected. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • respeaker_ros: update README.md for ROS 1 / ROS 2 Describe how to run it on ROS 2 and ROS 1, its interface (topics, services, actions, parameters) as in the source, and its requirements. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #584 from k-okada/release-3.0.1
  • Contributors: Kei Okada

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,

File truncated at 100 lines see the full file

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

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged respeaker_ros at Robotics Stack Exchange

No version for distro galactic showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.2
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-12-05
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The respeaker_ros package

Maintainers

  • Yuki Furuta

Authors

  • Yuki Furuta

respeaker_ros

A ROS package for the ReSpeaker Mic Array v2.0. respeaker_node.py publishes the audio of the microphone array, voice activity (VAD), the direction of arrival (DoA) of the sound and the audio of each utterance, controls the LEDs, and exposes the parameters of the DSP of the device. speech_to_text.py sends each utterance to the Google Web Speech API (through SpeechRecognition) and publishes the text. The same scripts run on ROS 1 and ROS 2.

Supported Devices

Requirements

  • The device, with the 6 channels firmware (see Preparation).
  • speech_to_text.py needs internet access to the Google Web Speech API (no key is needed).
  • SpeechRecognition, pyusb and pixel-ring are installed into a virtualenv of the package at build time (ROS 1: catkin_virtualenv with requirements.txt; ROS 2: uv with pyproject.toml/uv.lock, run uv lock after changing pyproject.toml).

Preparation

  1. Install this package
    sudo apt install ros-$ROS_DISTRO-respeaker-ros
    
or build it from source (`catkin build respeaker_ros` on ROS 1, `colcon build --packages-up-to respeaker_ros`
on ROS 2).
  1. Register the udev rule config/60-respeaker.rules (MODE:="0666" for the USB device 2886:0018), so that the device can be accessed without root: copy it, reload the rules and apply them to the connected device (or re-connect the device)
    # ROS 1
    sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # ROS 2
    sudo cp -f $(ros2 pkg prefix respeaker_ros)/share/respeaker_ros/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # both
    sudo udevadm control --reload-rules && sudo udevadm trigger
    
  1. Update the firmware to the 6 channels version
    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
    

Usage

ROS 2

ros2 launch respeaker_ros sample_respeaker.launch.xml
# for Japanese
ros2 launch respeaker_ros sample_respeaker.launch.xml language:=ja-JP
ros2 topic echo /sound_direction       # DoA [deg]
ros2 topic echo /sound_localization    # DoA as a pose
ros2 topic echo /is_speeching          # VAD
ros2 topic echo /speech_to_text        # recognized text
# LED color (back to the DoA display after 3 seconds)
ros2 topic pub --once /status_led std_msgs/msg/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
# a parameter of the device (instead of dynamic_reconfigure)
ros2 param set /respeaker_node AGCGAIN 5.5

ROS 1

roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction
rostopic echo /speech_to_text
# Japanese results
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic pub --once /status_led std_msgs/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
rosrun rqt_reconfigure rqt_reconfigure   # parameters of the device

Launch arguments (sample_respeaker.launch / sample_respeaker.launch.xml)

Argument Default Meaning
publish_tf true Publish a static TF map -> respeaker_base (ROS 1: tf, ROS 2: tf2_ros)
launch_respeaker true Launch respeaker_node
launch_soundplay true Launch sound_play (its action sound_play is used for self cancellation)
audio speech_audio Input audio topic of speech_to_text
speech_to_text speech_to_text Output topic of speech_to_text
language en-US Language of the recognition
self_cancellation true Ignore the audio while sound_play is speaking

speech_to_text is launched with tts_tolerance: 0.5.

Interface

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package respeaker_ros

3.0.2 (2026-11-26)

  • Merge pull request #602 from k-okada/license-bundled-components Declare the licenses of bundled components (hume, pixel-ring, Vosk models)
  • respeaker_ros: declare GPL-2.0-only for pixel-ring bundled in the venv On ROS 2, pixel-ring 0.1.0 (GNU General Public License v2) is installed into share/respeaker_ros/venv, so add it to package.xml and LICENSE. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #594 from k-okada/fix-error-handling
  • respeaker_ros: add missing ROS 2 exec_depend on tf2_ros sample_respeaker.launch.xml (ROS 2) runs tf2_ros static_transform_publisher, but package.xml declared tf2_ros nowhere, so rosdep did not install it with the package. Add it with condition="$ROS_VERSION == 2"; ROS 1 keeps using tf (already declared) from sample_respeaker.launch, so ROS 1 dependencies are unchanged. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #595 from k-okada/readme-update Update the READMEs for ROS 1 / ROS 2, with badges and demos
  • respeaker_ros: reload the udev rules with udevadm in README.md After copying config/60-respeaker.rules, reload the rules and apply them to the connected device with "udevadm control --reload-rules" and "udevadm trigger", instead of "systemctl restart udev", which does not apply the new rule to a device already connected. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • respeaker_ros: update README.md for ROS 1 / ROS 2 Describe how to run it on ROS 2 and ROS 1, its interface (topics, services, actions, parameters) as in the source, and its requirements. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #584 from k-okada/release-3.0.1
  • Contributors: Kei Okada

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,

File truncated at 100 lines see the full file

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

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged respeaker_ros at Robotics Stack Exchange

No version for distro iron showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.2
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-12-05
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The respeaker_ros package

Maintainers

  • Yuki Furuta

Authors

  • Yuki Furuta

respeaker_ros

A ROS package for the ReSpeaker Mic Array v2.0. respeaker_node.py publishes the audio of the microphone array, voice activity (VAD), the direction of arrival (DoA) of the sound and the audio of each utterance, controls the LEDs, and exposes the parameters of the DSP of the device. speech_to_text.py sends each utterance to the Google Web Speech API (through SpeechRecognition) and publishes the text. The same scripts run on ROS 1 and ROS 2.

Supported Devices

Requirements

  • The device, with the 6 channels firmware (see Preparation).
  • speech_to_text.py needs internet access to the Google Web Speech API (no key is needed).
  • SpeechRecognition, pyusb and pixel-ring are installed into a virtualenv of the package at build time (ROS 1: catkin_virtualenv with requirements.txt; ROS 2: uv with pyproject.toml/uv.lock, run uv lock after changing pyproject.toml).

Preparation

  1. Install this package
    sudo apt install ros-$ROS_DISTRO-respeaker-ros
    
or build it from source (`catkin build respeaker_ros` on ROS 1, `colcon build --packages-up-to respeaker_ros`
on ROS 2).
  1. Register the udev rule config/60-respeaker.rules (MODE:="0666" for the USB device 2886:0018), so that the device can be accessed without root: copy it, reload the rules and apply them to the connected device (or re-connect the device)
    # ROS 1
    sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # ROS 2
    sudo cp -f $(ros2 pkg prefix respeaker_ros)/share/respeaker_ros/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # both
    sudo udevadm control --reload-rules && sudo udevadm trigger
    
  1. Update the firmware to the 6 channels version
    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
    

Usage

ROS 2

ros2 launch respeaker_ros sample_respeaker.launch.xml
# for Japanese
ros2 launch respeaker_ros sample_respeaker.launch.xml language:=ja-JP
ros2 topic echo /sound_direction       # DoA [deg]
ros2 topic echo /sound_localization    # DoA as a pose
ros2 topic echo /is_speeching          # VAD
ros2 topic echo /speech_to_text        # recognized text
# LED color (back to the DoA display after 3 seconds)
ros2 topic pub --once /status_led std_msgs/msg/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
# a parameter of the device (instead of dynamic_reconfigure)
ros2 param set /respeaker_node AGCGAIN 5.5

ROS 1

roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction
rostopic echo /speech_to_text
# Japanese results
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic pub --once /status_led std_msgs/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
rosrun rqt_reconfigure rqt_reconfigure   # parameters of the device

Launch arguments (sample_respeaker.launch / sample_respeaker.launch.xml)

Argument Default Meaning
publish_tf true Publish a static TF map -> respeaker_base (ROS 1: tf, ROS 2: tf2_ros)
launch_respeaker true Launch respeaker_node
launch_soundplay true Launch sound_play (its action sound_play is used for self cancellation)
audio speech_audio Input audio topic of speech_to_text
speech_to_text speech_to_text Output topic of speech_to_text
language en-US Language of the recognition
self_cancellation true Ignore the audio while sound_play is speaking

speech_to_text is launched with tts_tolerance: 0.5.

Interface

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package respeaker_ros

3.0.2 (2026-11-26)

  • Merge pull request #602 from k-okada/license-bundled-components Declare the licenses of bundled components (hume, pixel-ring, Vosk models)
  • respeaker_ros: declare GPL-2.0-only for pixel-ring bundled in the venv On ROS 2, pixel-ring 0.1.0 (GNU General Public License v2) is installed into share/respeaker_ros/venv, so add it to package.xml and LICENSE. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #594 from k-okada/fix-error-handling
  • respeaker_ros: add missing ROS 2 exec_depend on tf2_ros sample_respeaker.launch.xml (ROS 2) runs tf2_ros static_transform_publisher, but package.xml declared tf2_ros nowhere, so rosdep did not install it with the package. Add it with condition="$ROS_VERSION == 2"; ROS 1 keeps using tf (already declared) from sample_respeaker.launch, so ROS 1 dependencies are unchanged. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #595 from k-okada/readme-update Update the READMEs for ROS 1 / ROS 2, with badges and demos
  • respeaker_ros: reload the udev rules with udevadm in README.md After copying config/60-respeaker.rules, reload the rules and apply them to the connected device with "udevadm control --reload-rules" and "udevadm trigger", instead of "systemctl restart udev", which does not apply the new rule to a device already connected. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • respeaker_ros: update README.md for ROS 1 / ROS 2 Describe how to run it on ROS 2 and ROS 1, its interface (topics, services, actions, parameters) as in the source, and its requirements. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #584 from k-okada/release-3.0.1
  • Contributors: Kei Okada

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,

File truncated at 100 lines see the full file

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

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged respeaker_ros at Robotics Stack Exchange

Package Summary

Version 3.0.2
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-12-05
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The respeaker_ros package

Maintainers

  • Yuki Furuta

Authors

  • Yuki Furuta

respeaker_ros

A ROS package for the ReSpeaker Mic Array v2.0. respeaker_node.py publishes the audio of the microphone array, voice activity (VAD), the direction of arrival (DoA) of the sound and the audio of each utterance, controls the LEDs, and exposes the parameters of the DSP of the device. speech_to_text.py sends each utterance to the Google Web Speech API (through SpeechRecognition) and publishes the text. The same scripts run on ROS 1 and ROS 2.

Supported Devices

Requirements

  • The device, with the 6 channels firmware (see Preparation).
  • speech_to_text.py needs internet access to the Google Web Speech API (no key is needed).
  • SpeechRecognition, pyusb and pixel-ring are installed into a virtualenv of the package at build time (ROS 1: catkin_virtualenv with requirements.txt; ROS 2: uv with pyproject.toml/uv.lock, run uv lock after changing pyproject.toml).

Preparation

  1. Install this package
    sudo apt install ros-$ROS_DISTRO-respeaker-ros
    
or build it from source (`catkin build respeaker_ros` on ROS 1, `colcon build --packages-up-to respeaker_ros`
on ROS 2).
  1. Register the udev rule config/60-respeaker.rules (MODE:="0666" for the USB device 2886:0018), so that the device can be accessed without root: copy it, reload the rules and apply them to the connected device (or re-connect the device)
    # ROS 1
    sudo cp -f $(rospack find respeaker_ros)/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # ROS 2
    sudo cp -f $(ros2 pkg prefix respeaker_ros)/share/respeaker_ros/config/60-respeaker.rules /etc/udev/rules.d/60-respeaker.rules
    # both
    sudo udevadm control --reload-rules && sudo udevadm trigger
    
  1. Update the firmware to the 6 channels version
    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
    

Usage

ROS 2

ros2 launch respeaker_ros sample_respeaker.launch.xml
# for Japanese
ros2 launch respeaker_ros sample_respeaker.launch.xml language:=ja-JP
ros2 topic echo /sound_direction       # DoA [deg]
ros2 topic echo /sound_localization    # DoA as a pose
ros2 topic echo /is_speeching          # VAD
ros2 topic echo /speech_to_text        # recognized text
# LED color (back to the DoA display after 3 seconds)
ros2 topic pub --once /status_led std_msgs/msg/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
# a parameter of the device (instead of dynamic_reconfigure)
ros2 param set /respeaker_node AGCGAIN 5.5

ROS 1

roslaunch respeaker_ros sample_respeaker.launch
rostopic echo /sound_direction
rostopic echo /speech_to_text
# Japanese results
rostopic echo --filter "print(m.transcript[0])" /speech_to_text
rostopic pub --once /status_led std_msgs/ColorRGBA "{r: 0.0, g: 0.0, b: 1.0, a: 0.3}"
rosrun rqt_reconfigure rqt_reconfigure   # parameters of the device

Launch arguments (sample_respeaker.launch / sample_respeaker.launch.xml)

Argument Default Meaning
publish_tf true Publish a static TF map -> respeaker_base (ROS 1: tf, ROS 2: tf2_ros)
launch_respeaker true Launch respeaker_node
launch_soundplay true Launch sound_play (its action sound_play is used for self cancellation)
audio speech_audio Input audio topic of speech_to_text
speech_to_text speech_to_text Output topic of speech_to_text
language en-US Language of the recognition
self_cancellation true Ignore the audio while sound_play is speaking

speech_to_text is launched with tts_tolerance: 0.5.

Interface

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package respeaker_ros

3.0.2 (2026-11-26)

  • Merge pull request #602 from k-okada/license-bundled-components Declare the licenses of bundled components (hume, pixel-ring, Vosk models)
  • respeaker_ros: declare GPL-2.0-only for pixel-ring bundled in the venv On ROS 2, pixel-ring 0.1.0 (GNU General Public License v2) is installed into share/respeaker_ros/venv, so add it to package.xml and LICENSE. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #594 from k-okada/fix-error-handling
  • respeaker_ros: add missing ROS 2 exec_depend on tf2_ros sample_respeaker.launch.xml (ROS 2) runs tf2_ros static_transform_publisher, but package.xml declared tf2_ros nowhere, so rosdep did not install it with the package. Add it with condition="$ROS_VERSION == 2"; ROS 1 keeps using tf (already declared) from sample_respeaker.launch, so ROS 1 dependencies are unchanged. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #595 from k-okada/readme-update Update the READMEs for ROS 1 / ROS 2, with badges and demos
  • respeaker_ros: reload the udev rules with udevadm in README.md After copying config/60-respeaker.rules, reload the rules and apply them to the connected device with "udevadm control --reload-rules" and "udevadm trigger", instead of "systemctl restart udev", which does not apply the new rule to a device already connected. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • respeaker_ros: update README.md for ROS 1 / ROS 2 Describe how to run it on ROS 2 and ROS 1, its interface (topics, services, actions, parameters) as in the source, and its requirements. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>> Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
  • Merge pull request #584 from k-okada/release-3.0.1
  • Contributors: Kei Okada

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,

File truncated at 100 lines see the full file

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

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged respeaker_ros at Robotics Stack Exchange

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

The respeaker_ros package

Maintainers

  • Yuki Furuta

Authors

  • Yuki Furuta

respeaker_ros

A ROS Package for Respeaker Mic Array

Supported Devices

Preparation

  1. 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
    
  1. 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.
  1. 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

  1. 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

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)

  • 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)

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

No known dependants.

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]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged respeaker_ros at Robotics Stack Exchange