navigation2
navigation2 copied to clipboard
cloned_multi_tb3_simulation, slam:=true does not create maps
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:
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?