Comments (15)
$(find google_cloud_texttospeech)は,launchを呼んだPCでのgoogle_cloud_texttospeech
へのパスが入るため,sound_play_machineに指定したPCとディレクトリ構成が違うと正しくパスを指定できませんでした.
from jsk_3rdparty.
ディレクトリ構造が違うのが問題ではなく,machine tagで起動したリモートのPCのPATHに設定されていないのだと思います.
この場合はmachine tagのenv-loaderにPATHを更新するように変更する必要があるかと思います.
from jsk_3rdparty.
いや違うか.
env-loaderは更新する必要はないのかな.
remoteマシーンでjsk_3rdpartyがインストールされているか,最新版になっているかを確認してください.
あとIssueをたてるときはlog outputを貼ってください.
from jsk_3rdparty.
roslaunchしたPC側の
の行を編集して,sound_play_machineに指定したPCの
google_cloud_texttospeech
へのパスをベタ書きすると動くことは確認できました.
env-loaderでPATHを指定しても,roslaunchのenvタグのPATHによって上書きされるため,効果はありませんでした.
SIOD ERROR: unbound variable : ja
[ERROR] [1622449077.811238]: Sound synthesis failed. Is festival installed? Is a festival voice installed? Try running "rosdep satisfy sound_play|sh". Refer to http://wiki.ros.org/sound_play/Troubleshooting
[ERROR] [1622449077.814098]: Exception in actionlib callback: 'NoneType' object has no attribute 'command'
machineタグを使用する場合に,roslaunchの$(find )
をremote PC側で評価してくれればよいのですが...
machineタグを使うことは諦めて,remote PCにsshしてからroslaunchすることにします...
from jsk_3rdparty.
なんとなく言っているエラーはわかりましたが,logを全て貼ってください.話はそこから始まるので.
そして,roslaunch
のfind
がlocal側で評価されているということですね.
それじゃあbashスクリプトをmachineタグで実行するのはどうでしょうか?
こんな感じで
https://github.com/jsk-ros-pkg/jsk_robot/blob/master/jsk_pr2_robot/jsk_pr2_startup/jsk_pr2_sensors/kinect_head.launch#L49-L60
from jsk_3rdparty.
@Naoki-Hiraoka この問題どうなりましたか?
from jsk_3rdparty.
自分個人の事情としては、今回自分がmachine
タグを使いたかった理由は、これまでremote PCにsshしてからroslaunch
する独自bashスクリプトを書いていたのですが、この独自bashスクリプトを使うのをやめたかったからでした。しかし、roslaunch
のfind
がlocal側で評価されてしまうためmachine
タグを使用したとしても結局独自bashスクリプトは必要と分かったため、machine
タグを使うのをやめて現状維持としました。
google_cloud_texttospeech
のlaunchファイルの引数sound_play_machine
がうまく機能しないというこのissueの問題は依然として残っています。
from jsk_3rdparty.
現状維持というのは,わざわざsshしてlaunchする方法でしょうか?
それならmachinタグでbashスクリプトするほうが工程が減っていい気がしますが
from jsk_3rdparty.
説明が曖昧でした。「remote PCにsshしてからroslaunchする」という処理を行うbashスクリプトです。
from jsk_3rdparty.
それだとしても,ターミナルで起動するコマンドが1つになるのでは?
それともsshしてroslaunchするスクリプトをノードとして実行しているってこと?
なら,マシンタグにすればいいのでは,とおもうんだけど.
from jsk_3rdparty.
現物を直接見て頂いた方が早そうです。privateなリポジトリにあります。
https://github.com/start-jsk/rtmros_hrp2/issues/591
from jsk_3rdparty.
うん,だからmachineタグでこの他のlaunchに組み込んだら良くないかな.
起動するlaunchを減らしたいという話ではないの?
from jsk_3rdparty.
https://github.com/start-jsk/rtmros_hrp2/issues/591#issuecomment-855225253
from jsk_3rdparty.
google_cloud_texttospeech
のlaunchファイルの引数sound_play_machine
がうまく機能しないというこのissueの対象のバグと論点が外れてきましたので、https://github.com/start-jsk/rtmros_hrp2/issues/591 に移動しませんか。
from jsk_3rdparty.
なるほど、もとから1つのlaunchなのね。
じゃあそれでいいんじゃないかな。
問題としてはlaunchのfind
が遅延評価されていないってことかな。
from jsk_3rdparty.
Related Issues (20)
- [switchbot_ros] build failure on build.ros.org HOT 5
- support mebo? HOT 5
- [influxdb_store] implement more logger
- [google-chat-ros] problems of google-auth HOT 4
- support mecab
- [google_chat_ros] Where do you upload your image? HOT 5
- 音声認識してしゃべるプログラムはどうやってかくんですか? HOT 1
- [respeaker_ros] `speech_to_text.py` failed to run with `SpeechRecognition=3.9.0` HOT 1
- google_chat_rosの設定方法がわからない
- Missing dependency of `ros_speech_recognition` for `ubuntu-sounds` package HOT 1
- [respeaker_ros] デバイスを認識できません HOT 7
- [Noetic] julius fails to build on arm64 and armhf
- [Noetic] ros_speech_recognition fails to build on arm64 and armhf
- [Suggestion] Drop indigo test
- [Noetic] google_chat_ros fails to build: Missing actionlib_msgs dependency
- [Noetic] nfc_ros fails to build: Missing dependecy rostest
- [Noetic] ros_google_cloud_language fails to build: Missing pthreads
- [Noetic] zdepth_image_transport fails to build: fails to link against pthreads
- [noetic] respeaker_ros failing to build armhf & armv8 HOT 2
- Plans for ROS2 support? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsk_3rdparty.