Robotics StackExchange | Archived questions

Meaning of costmap_2d observation_persistence parameter?

In the documentation for costmap_2d's sensor parameters, I saw this parameter:

~<name>/<source_name>/observation_persistence (double, default: 0.0)

  • How long to keep each sensor reading in seconds. A value of 0.0 will only keep the most recent reading.

I can't find any other documentation that mentions this parameter. Even with the default value of 0.0, obstacles persist until they are cleared (either manually or by a sensor with clear: true). What is the meaning of this parameter? How choose an appropriate value?

Asked by mkoval on 2012-06-06 09:54:20 UTC

Comments

Why is this question closed? I think it is quite relevant and just because it is old does not mean it is outdated. Actually I have exactly the same question right now.

Asked by Felix Widmaier on 2018-01-17 04:25:52 UTC

Yup. I also have the same exact question. This parameter is broken. Setting it to 0 does not only keep keep the most recent reading.

Asked by psammut on 2018-01-22 18:06:18 UTC

Since this is closed, I asked a new question.

Asked by Felix Widmaier on 2018-01-23 03:08:52 UTC

Answers