MATLAB-ROS handshake fail
13 ビュー (過去 30 日間)
古いコメントを表示
Hello, i am doing something using MATLAB-ROS interface in Ubuntu 16.04 LTS with ROS kinetic.
And also, i am starting with 'GazeboAddBuildAndRemoveObjectsExample' MATLAB example code.
But there are some errors.
Error using ExampleHelperGazeboCommunicator/startModelServices (line 334)
Failed to create a /gazebo/get_model_state service client.
Error in ExampleHelperGazeboCommunicator/spawnModel (line 290)
startModelServices(obj);
Error in Gazebo (line 40)
spawnModel(gazebo,ball,[8.5,0,1]);
[ERROR] ServiceClientHandshakeHandler - Service client handshake failed: client wants service /gazebo/get_model_state to have md5sum af0f702011820738976b120226dc9d96, but it has 4c515e936d3319c9610c559c60bfc3d4. Dropping connection.
I knew that service and client have to indicate the same md5sum for communication. So i have tried to change md5sum in gazebo_msgs to indicate same things, but i didn't work. How can i solve this problems?
0 件のコメント
回答 (1 件)
Florian Kraemer
2017 年 5 月 11 日
You can verify the internal matlab rosmsg is the same as in ROS. In matlab:
rosmsg('show','package/srv_nameRequest')
rosmsg('show','package/srv_nameResponse')
And in a terminal:
rossrv show package/srv_name
They probably differ, which since this is a standard example is probably a version incompatibility issue.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Network Connection and Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!