ROS2 Simulink to Gazebo (VMWare) - simulating multiple turtlebots

此 个问题 已被 Cam Salzberger 标记
  • Cam Salzberger 在 2022-3-7 标记为 重复

    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!

回答(0 个)

此问题已关闭。

关闭:

2022-8-23

Community Treasure Hunt

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

Start Hunting!

Translated by