- Open launch file named rtabmap.launch
- change <arg name="namespace" default="rtabmap1"/>
<arg name="database_path" default="~/.ros/rtabmap1.db"/>
- now copy rtabmap.launch file in the same path and rename it as rtabmap2.launch and agin edit it
- change <arg name="namespace" default="rtabmap2"/>
<arg name="database_path" default="~/.ros/rtabmap2.db"/>
- now launch 2 different launch file
or
add namespace:=rtabmap2 and databse_path:= ~/.ros/rtabmap2.db
at the end of launch command