Plugin for co-simulation between MATLAB and Gazebo

6 次查看(过去 30 天)
Hi sir
I am trying to perform a co-simulation between MATLAB(R2023a) and Gazebo(11.11.0) to read .mat file.
I just want to ask if plugin for co-simulation between MATLAB and Gazebo .launch file(not .world file)
The reason why I ask is the .launch file can contain many information such as other .world files and .launch files.
So if anyone who knows about them and solved this my question, please let me know with your solution tips.
Thanks for reading my question.

采纳的回答

Song-Hyun Ji
Song-Hyun Ji 2023-7-7
  2 个评论
우석 송
우석 송 2023-7-10
sorry for late your reply. I try to solve your solution and then let you know if I have questions.
Thanks for leave your reply on my post
VIGNESH BALAJI
VIGNESH BALAJI 2024-2-16
Where do I run this command - packageGazeboPlugin as mentioned in the tutorial. It is not clear to me. Please let me know.

请先登录,再进行评论。

更多回答(1 个)

Gaurav Bhosale
Gaurav Bhosale 2023-7-7
Hi,
The details provided by Song-Hyun Ji are correct. I will add more details below.
As you mentioned, you have .launch file and it contains .world file. In that case, you can add plugin information in .world file and attach same for .launch file.
We have one ROS-Gaazebo CoSim example which showcase how to use Gazebo Co-Sim plugin with roslaunch. Please go through Enable Synchronization in Other ROS–Gazebo Examples in VM section.
Further, you can find more details in Gazebo tutorial.
Please try once and let me know if you have further questions.
Thanks
  1 个评论
우석 송
우석 송 2023-7-10
sorry for reply yours late. I try to solve your tips and then let you know if I have questions.
Thanks for leave your reply on my post

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by