Co-simulation Simulink and Gazebo problem, Gazebo Custom Support block (without contact) makes it very slow
3 views (last 30 days)
Show older comments
Yunsik Jung
on 12 Jan 2022
Answered: Gaurav Bhosale
on 1 Feb 2022
Hi, all.
I have an issue related to the too slow simulation speed due to the Gazebo Custom Support block in Simulink for Co-simulation Simuink and Gazebo. (I used MATLAB and Gazebo on the same mashine, Ubuntu)
I imagined that the contact message has too many fields, so it makes the speed slow.
But, even I selected /gazebo/default/joint in the Gazebo Custom Support block, it makes the speed very slow.
Once I remove the block, the speed is recovered.
Is this a known issue?
If it is, please let me know when it would be solved. This is very critical issue for my project, since I am using reinforcement learning. For instance, a policy is trained with a normal simulation speed. And if i try to train it further only adding the Gazebo Custom Support block to the Simulink model, the performance is changed greatly due to the slow speed. it may be not related to this issue, but it is still critical.
Thanks.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Gazebo Co-Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!