Co-Simulation - Simulink, gazebo: Error evaluating 'MaskDialog'
显示 更早的评论
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
2021-8-18
编辑:Gaurav Bhosale
2021-8-18
Hi Eric,
I have few questions. Can you please provide me more details?
Which MATLAB version you using ? Also, are facing this issue for all Gazebo blocks or just Gazebo Read block ? Further did you install latest MATLAB update ?
Further, there are some suggestions from similar post. Have you checked this?
Thanks
JAEYONG HAN
2021-8-19
编辑:JAEYONG HAN
2021-8-19
Hi, I am the Eric's colleague. I am the one actually facing the problem.
I am using MATLAB 2021a and Gazebo 9.
The error occurs for all Gazebo blocks, not only Gazebo read block.
when I click the "select" in the figure to select the topic that I want to read.


Note that, this error occurs only with certain "world" file.
Will it be better if I upload the world file?
Thanks
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
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
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Gazebo Co-Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

