Implements GCC-PHAT beamforming for sound source localization via Jabra mic. - GCC-PHAT cross-correlation for direction of arrival (DoA) estimation - Voice activity detection (VAD) using RMS energy + smoothing - Stereo/quadrophonic channel support (left/right/front/rear estimation) - ROS2 publishers: /saltybot/audio_direction (Float32 bearing), /saltybot/audio_activity (Bool VAD) - Configurable parameters: sample_rate, chunk_size, publish_hz, vad_threshold, gcc_phat_max_lag - Integration-ready for multi-person tracker speaker tracking Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
24 lines
716 B
Python
24 lines
716 B
Python
from setuptools import setup, find_packages
|
|
|
|
setup(
|
|
name='saltybot_audio_direction',
|
|
version='0.1.0',
|
|
packages=find_packages(exclude=['test']),
|
|
data_files=[
|
|
('share/ament_index/resource_index/packages',
|
|
['resource/saltybot_audio_direction']),
|
|
('share/saltybot_audio_direction', ['package.xml']),
|
|
],
|
|
install_requires=['setuptools'],
|
|
zip_safe=True,
|
|
author='SaltyLab',
|
|
author_email='robot@saltylab.local',
|
|
description='Audio direction estimator for sound source localization',
|
|
license='MIT',
|
|
entry_points={
|
|
'console_scripts': [
|
|
'audio_direction_node=saltybot_audio_direction.audio_direction_node:main',
|
|
],
|
|
},
|
|
)
|