Co-Simulation between Simulink and Gazebo in RealTime?

2 ビュー (過去 30 日間)
Armin Mueller
Armin Mueller 2020 年 2 月 7 日
回答済み: Tohru Kikawada 2020 年 6 月 2 日
Hi,
I'm trying to get the Co-Simulation between Simulink and Gazebo running in real time. Playing around with different solvers and other settings didn't help. The Model itself is super simple and without the Gazebo Pacer Block it can be forced to run something like real-time.
Is it even possible to get the Simulnk-Gazebo Co-Simulation running in real time?
Best regards,
Samuel

回答 (1 件)

Tohru Kikawada
Tohru Kikawada 2020 年 6 月 2 日
It might be hard to perform the real-time co-simulation. As you may know, the two solvers try to be synchronized and it basically prevents the concurrency of the simulation. To perform the real-time simulation with the "best effort" configuration, you may want to use ROS to communicate each solver, but it would not be synchronized and deterministic though.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by