ROS2 Simulink to Gazebo (VMWare) - simulating multiple turtlebots

  • Markiert als Duplikat durch Cam Salzberger am 7 Mär. 2022.

    Duplicate of https://www.mathworks.com/matlabcentral/answers/1664394, which seems to have the more pertinent question title.

Hi, I am using ROS2 in simulink to work on a consensus algorithm between 2 robots.
My question is : how do i simulate multiple robots in the Gazebo Empty World? When i run the virtual machine and open the empty world, it automatically generates one turtlebot, how do I add or simulate additional turtlebots to be connected to my ros2 code?
As seen in image attached, I am attempting to subscribe from two different topics for two different robots.
Thank you!

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 5 Mär. 2022

Geschlossen:

am 23 Aug. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by