# Necessity of launching move\_base for mapping

**URL:** <https://get-help.theconstruct.ai/t/necessity-of-launching-move-base-for-mapping/2285>\
**Category:** RTABMap in ROS 101\
**Created:** [February 14, 2020, 12:02pm UTC](https://get-help.theconstruct.ai/t/necessity-of-launching-move-base-for-mapping/2285 "2020-02-14T12:02:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hrushikesh.kyathari](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/hrushikesh.kyathari/32/10_2.png) [@hrushikesh.kyathari](https://get-help.theconstruct.ai/u/hrushikesh.kyathari)\
**Post date:** [February 14, 2020, 12:02pm UTC](https://get-help.theconstruct.ai/t/necessity-of-launching-move-base-for-mapping/2285/1 "2020-02-14T12:02:06Z")

</div>

> the SLAM process will be handled by the _rtabmap\_ros_ package itself

In ex 1.1, why is the move\_base which is used for moving to a goal position also used for mapping? Won’t it be sufficient to only use the rtabmap\_ros package

Also for visualising mapping process,

> roslaunch rtabmap\_ros demo\_turtlebot\_rviz.launch

the command was used. The launch file launched rviz with arguments of a config file, where can I learn about launching rviz with arguments?  
I would be grateful if anyone can answer.

---

<div class="post-metadata">

**Author:** ![albertoezquerro](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/albertoezquerro/32/7031_2.png) [@albertoezquerro](https://get-help.theconstruct.ai/u/albertoezquerro)\
**Post date:** [February 18, 2020, 3:30pm UTC](https://get-help.theconstruct.ai/t/necessity-of-launching-move-base-for-mapping/2285/2 "2020-02-18T15:30:26Z")

</div>

Hello @hrushikesh.kyathari,

Yes, youa re right, the **move\_base** node is not required for the mapping process, we just add it so that we have an unified launch for both the mapping and localization process (where the **move\_base** node is used).

As for the Rviz question, it’s very easy. You just need to use the following launch format:

```auto
<launch>
  <node type="rviz" name="rviz" pkg="rviz" args="-d $(find package_name)/rviz/config_file.rviz" />
</launch>

```

Best,
