robotology / assistive-rehab

Assistive and Rehabilitative Robotics
https://robotology.github.io/assistive-rehab/doc/mkdocs/site
BSD 3-Clause "New" or "Revised" License
20 stars 11 forks source link

Add fake speech modules to avoid using Google services #326

Closed mfussi66 closed 1 year ago

mfussi66 commented 1 year ago

This PR adds two new modules: fakeGoogleSpeech and fakeGoogleSpeechProcess, that can be used when it is not possible to use the original googleSpeech and googleSpeechProcess modules, since they rely on connection with Google. The fake modules do not perform any actions, they only make sure to open the ports needed by managerTUG. Nonetheless, a user could send an RPC to fakeGoogleSpeechProcess with a phrase, and it will return a positive reply.

Together with the fake modules, a docker image and compose file are added, so there can be a clearer separation.

Keeping the PR in draft until https://github.com/robotology/assistive-rehab/pull/325 is merged, so I can rebase first.

pattacini commented 1 year ago

CI failed on Windows.

pattacini commented 1 year ago

The CI failure on Windows seems unrelated to this PR anyhow.

mfussi66 commented 1 year ago

Yep, this is the error:

Failures
 - curl (exited 1) - curl not installed. An error occurred during installation:
 The remote server returned an error: (504) Gateway Timeout. Gateway Timeout

Enjoy using Chocolatey? Explore more amazing features to take your
experience to the next level at
 https://chocolatey.org/compare
Error: Process completed with exit code 1.

Maybe there's an upstream issue with Chocolatey?

pattacini commented 1 year ago

Maybe there's an upstream issue with Chocolatey?

Maybe. It's a bit random anyway. I'll try to re-launch the failed jobs later.