Meaning of costmap_2d observation_persistence parameter? [closed]
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?
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.
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.
Since this is closed, I asked a new question.