Simulink connection failed to the Gazebo in VirtualBox (MAC)
Show older comments
Hello everyone,
These days I am trying to study the demo "control a differential-drive robot in Gazebo with simulink" from link: https://de.mathworks.com/help/robotics/examples/control-a-differential-drive-robot-in-simulink-and-gazebo.html
But when I try to test the connection between simulink and Gazebo, it shows me "fail to connect Gazebo plugin"..
I have tried the following method:
- ping from MAC to VirtualBox -> both sides are connected, test succefffully (I use bridge mode)
I don"t know if there is other things that I need to configure, and I would be aprreciated that someone could give me some hints, thank you very much!
Best Regards
3 Comments
Gaurav Bhosale
on 8 Dec 2020
Hi Yuan,
I hope you have first gone through this example
You are trying correct steps, but I want to ask few questions, which are needed to debug the issue.
Also, before testing connection between Simulink and Gazebo, you need to cross-check following steps.
- Have you lauched GazeboPlugin mentioned in above shared example?
- Are you able to see Gazebo Simulator window?
- Have you added correct IP address and port number in Simulink block connection setting ( mentioned in shred example)
- Please share error message dispayed while doing connection test.
Please add your comments on above questions.
Please let me know, if you are facing any other issue.
Thanks.
With Regards,
Gaurav Bhosale
Revanth Prakash
on 18 May 2022
Facing similar issue. Any suggestions will be helpful
Yineng Chen
on 27 Jun 2022
Facing similar issue. Do you have any idea now? Thank you! I have gone through the example step by step, but cannot connect to Gazebo in VMware.
Answers (1)
Gaurav Bhosale
on 20 May 2022
0 votes
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!