Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find service: SoundProcessingModule pepper 2.5 #17

Closed
oriolhinojolit opened this issue Feb 10, 2023 · 1 comment
Closed

Can't find service: SoundProcessingModule pepper 2.5 #17

oriolhinojolit opened this issue Feb 10, 2023 · 1 comment

Comments

@oriolhinojolit
Copy link

We encountered a problem running one of your example codes on our Pepper robots with 1.8 and naoqi 2.5.10.7.
Here is the link to your example code: http://doc.aldebaran.com/2-5/dev/python/examples/audio/audio_soundprocessing.html

And we received this error message
[W] 167421202039.916487 10010 qi.path.sdklayout: No Application was created, trying to deduce paths
Traceback (last most recent call):
File "/home/oriol/Documents/test3.py", line 111, in .
MySoundProcessingModule.startProcessing()
File "/home/oriol/Documents/test3.py", line 42, in startProcessing
self.audio_service.setClientPreferences(self.module_name, 16000, 3, 0)
RuntimeError: ALProxy::ALProxy
Cannot find SoundProcessingModule service

We have several Peppers in the lab and found that this code only works with Peppers with version 2.4 but not with 2.5. We also checked and Peppers 2.5 have the service but somehow they are not able to find it. Furthermore, we can run the code if we ssh inside Pepper (both 2.4 and 2.5 versions), but not from an external PC.

We are also not the only ones facing this problem as seen here: https://stackoverflow.com/questions/65674181/error-trying-to-create-new-module-and-subscribe-using-alaudiodevice-service

The environment is Ubuntu 22.04 with Python 3.10.6 and we have installed libqi and libqi-python from source with Boost 1.77 as described in the following gist:
https://gist.github.com/souljaboy764/738b76c5bb6b76a8eb93ba7ae63862c9
We also encountered this issue on Ubuntu 20.04 as well.

Could you let us know how we can fix this or if there is an alternative to access a stream of the raw data from Peppers microphones?

@nyibbang
Copy link
Member

Hello @oriolhinojolit,

Sorry about the delay of the response, but it seems your issue concerns NAOqi and the SoundProcessingModule service and its accessibility with your version of NAOqi, and not libqi-python specifically.

I can only suggest that you contact support with your issue and see with them what is the cause and the solution. You can contact the support through the United Robotics Group website : https://support.unitedrobotics.group/en/support/home.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants