# Exercise 2.11 How to change map update interval

**URL:** <https://get-help.theconstruct.ai/t/exercise-2-11-how-to-change-map-update-interval/21395>\
**Category:** ROS Navigation In 5 Days\
**Tags:** howto, navigation\
**Created:** [January 4, 2023, 5:27pm UTC](https://get-help.theconstruct.ai/t/exercise-2-11-how-to-change-map-update-interval/21395 "2023-01-04T17:27:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![woeberinroslol](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/w/43a26b/32.png) [@woeberinroslol](https://get-help.theconstruct.ai/u/woeberinroslol)\
**Post date:** [January 4, 2023, 5:27pm UTC](https://get-help.theconstruct.ai/t/exercise-2-11-how-to-change-map-update-interval/21395/1 "2023-01-04T17:27:08Z")

</div>

Hi, in this exercise i’m supposed to change the mapping intervall to 15sec, i can launch it and i see the map in rviz but when measuring the time, its about 5sec, which is the default, so i think i didnt overwrite it. This is my launch file:

 ![image](https://get-help.robotigniteacademy.com/uploads/default/original/2X/e/e73b0b1bbcd4f6b07bba4001c867931eaf0c94ff.png)  
I’m thankful for any help 🙂

---

<div class="post-metadata">

**Author:** ![girishkumar.kannan](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/girishkumar.kannan/32/6994_2.png) [@girishkumar.kannan](https://get-help.theconstruct.ai/u/girishkumar.kannan)\
**Post date:** [January 4, 2023, 5:33pm UTC](https://get-help.theconstruct.ai/t/exercise-2-11-how-to-change-map-update-interval/21395/2 "2023-01-04T17:33:58Z")

</div>

Hi @woeberinroslol ,

You must define your parameter like as follows:

```auto
<param name="/slam_gmapping/map_update_interval" type="double" value="15.0"/>

```

You will find this when you run the gmapping launch file. Soon after you launch the gmapping launch file, it will print out the parameters on the screen. From there you can understand how parameters are defined.

That should fix your problem. I had the same issue when I did the course.

Regards,  
Girish

---

<div class="post-metadata">

**Author:** ![woeberinroslol](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/w/43a26b/32.png) [@woeberinroslol](https://get-help.theconstruct.ai/u/woeberinroslol)\
**Post date:** [January 4, 2023, 5:38pm UTC](https://get-help.theconstruct.ai/t/exercise-2-11-how-to-change-map-update-interval/21395/3 "2023-01-04T17:38:18Z")

</div>

Thank you very much. Works perfectly now 🙂

---

<div class="post-metadata">

**Author:** ![bayodesegun](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/bayodesegun/32/10684_2.png) [@bayodesegun](https://get-help.theconstruct.ai/u/bayodesegun)\
**Post date:** [January 7, 2023, 5:38pm UTC](https://get-help.theconstruct.ai/t/exercise-2-11-how-to-change-map-update-interval/21395/4 "2023-01-07T17:38:54Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
