furushchev / respeaker_ros

A ROS Package for Respeaker Mic Array
Apache License 2.0
71 stars 60 forks source link

Any chance to support 4MICs HAT for Raspberry Pi #2

Closed auvilink closed 6 years ago

auvilink commented 6 years ago

I have ROS installed on Raspberry Pi with 4MICs array. (4MICs HAT for Raspberry Pi)

Any chance this would support that hardware?

Thanks.

furushchev commented 6 years ago

Hi,

I only have respeaker v2.0 and can only check if it works or not. Sorry.

auvilink commented 6 years ago

I tried and it got stuck on roslaunch respeaker_ros respeaker.launch

Traceback (most recent call last): File "/home/pi/catkin_ws/src/respeaker_ros/scripts/respeaker_node.py", line 344, in n = RespeakerNode() File "/home/pi/catkin_ws/src/respeaker_ros/scripts/respeaker_node.py", line 264, in init self.respeaker = RespeakerInterface() File "/home/pi/catkin_ws/src/respeaker_ros/scripts/respeaker_node.py", line 84, in init raise RuntimeError("Failed to find Respeaker device") RuntimeError: ## Failed to find Respeaker device

It's totally reasonable going this far considering I used a different mic array.

Maybe if I can get this line working then it would work.

self.dev = usb.core.find(idVendor=self.VENDOR_ID, idProduct=self.PRODUCT_ID)

Thanks.

auvilink commented 6 years ago

I purchased the new ReSpeaker Mic Array v2.0 to save the hassle. Thanks.