Clear Filters
Clear Filters

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

1 view (last 30 days)
Masanori Sakuragi
Masanori Sakuragi on 26 Jul 2018
Answered: Tohru Kikawada on 13 Aug 2018
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')などは正常のようです

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!