BaxterComm​WithSim() ​class使用時でエ​ラーが出ます。

10 ビュー (過去 30 日間)
Masanori Sakuragi
Masanori Sakuragi 2018 年 7 月 26 日
回答済み: Tohru Kikawada 2018 年 8 月 13 日
StartHere_ExampleScript - Script to test Baxter Communicator class使用時でエラーが出ます。
rosinit('011612P0010.local','NodeHost','192.168.1.2')
setenv('ROS_MASTER_URI','http://011612P0010.local:11311')
bc = BaxterCommWithSim(); % for hardware
>> bc = BaxterCommWithSim();
エラー: robotics.ros.Subscriber/receive (line 294)
The function did not receive any data and timed out.
で下記エラーが発生します。原因や解説策など指導いただけると幸いです 9.4.0.813654 (R2018a) rostopic listや sub= rossubscriber('/cameras/right_hand_camera/image')などは正常のようです

採用された回答

Tohru Kikawada
Tohru Kikawada 2018 年 8 月 13 日
エラー内容としてはROS topicの受信を待っていて設定時間内にデータが返ってきていないようです。エラーは上記で全文でしょうか。発生個所が分かれば問題となっている箇所がわかるかもしれません。
また、内容は下記のBaxter Communicator Classに関するご質問のようですので、コメント欄など記載して作者に直接お問い合わせいただくのがよろしいかもしれません。 https://jp.mathworks.com/matlabcentral/fileexchange/63564-baxter-communicator-class

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by