navigation2 icon indicating copy to clipboard operation
navigation2 copied to clipboard

cloned_multi_tb3_simulation, slam:=true does not create maps

Open iOzcan1 opened this issue 11 months ago • 2 comments

Bug report

Required Info:

  • Operating System:

    • Ubuntu 22.04
  • ROS2 Version:

    • Humble
  • DDS implementation:

    • cyclone

Steps to reproduce issue

I haven't changed anything. Installed nav2 packages including nav2_bringup and run the following command on the terminal:

ros2 launch nav2_bringup cloned_multi_tb3_simulation_launch.py robots:="robot1={x: 1.0, y: 1.0, yaw: 1.5707}; robot2={x: 1.0, y: 1.0, yaw: 1.5707}" headless:=False slam:=True

Expected behavior

I was expecting to see both of the robots creating their own map.

Actual behavior

There is no map creation at all. respective topics and nodes with namespaces "robot1" and "robot2" can be seen. When I check the rqt_graph: Screenshot from 2024-03-21 14-45-56 I can see that both of the slam toolbox nodes subscribes to scan topic and not <robot_name>/scan topic. it should not be like this, right?

iOzcan1 avatar Mar 21 '24 13:03 iOzcan1