Co-Simulation - Simulink, gazebo: Error evaluating 'MaskDialog'

22 ビュー (過去 30 日間)
Eric Schöneberg
Eric Schöneberg 2021 年 8 月 16 日
コメント済み: JAEYONG HAN 2021 年 8 月 19 日
Hi,
I am currently working on a Co-Simulation Simulink/Gazebo. When opening only a simple robot, the topics can be chosen within the Simulink-Block (Gazebo Read).
Opening some custom world and the robot, it throws the following error:
"Error evaluating 'MaskDialog' callback of Gazebo Read block (mask) 'untitled/Gazebo Read2'. Callback string is 'robotics.slgazebo.internal.block.GazeboReadBlockMask.dispatch('topicSelect', gcb);' STD exception 'mwboost::exception_detail::clone_impl': 'std::exception' was caught."
Any advice? Thanks.
  4 件のコメント
Gaurav Bhosale
Gaurav Bhosale 2021 年 8 月 19 日
Hi Jaeyong,
Okay. Are you using different .world file?
If you use shipped VM ( https://www.mathworks.com/support/product/robotics/ros2-vm-installation-instructions-v4.html ) and launch world for this VM, then you are facing same issue?
If possible, please attach .world file.
Thanks
JAEYONG HAN
JAEYONG HAN 2021 年 8 月 19 日
Thank you for your answer,
I dont use VM.
I attached .world.files.
There are two
one named "test_only_with_the_car" which has no problem to select the topic in Gazebo Read block,
another named "The_RC_Car_World" which has a road, and the care above. when I open this world files, I run into the error, when I try to select the topic in Gazebo Read block.
I am not sure if only the world file is good enought for you,.
Thanks
Jaeyong

サインインしてコメントする。

採用された回答

Gaurav Bhosale
Gaurav Bhosale 2021 年 8 月 19 日
Hi Jaeyong,
I checked both .world files and saw issue in The_RC_Car_World.world
I found that, in the The_RC_Car_World.world file, the model names contains some special character which is not understood by API.
One of place of special character I am showing below.
Avoid above 'ß' character in .world file. This is not readable by API.
Further, when I removed this character, updated my .world file and run Simulink model then I am able to see topics as,
So, remove the above mentioned character, each and every place from .world file. You will able to get topics.
Let me know, if stil you find any issue.
Thanks
Gaurav Bhosale
  1 件のコメント
JAEYONG HAN
JAEYONG HAN 2021 年 8 月 19 日
HI, Gaurav
Thanks a lot, I can now select the topic without any problem!
It was a German character. Now I know that the German alphabet should not be used.
Thank you again,
Jaeyong

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGazebo Co-Simulation についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by