ROS2 Simulink to Gazebo (VMWare) - simulating multiple turtlebots

  • Cam Salzberger a ajouté un drapeau Doublon le 7 Mar 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!

Réponses (0)

Cette question est clôturée.

Clôturé :

le 23 Août 2022

Community Treasure Hunt

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

Start Hunting!

Translated by