Use current time to check if observation is out of date#1872
Merged
SteveMacenski merged 1 commit intoros-navigation:masterfrom Jul 16, 2020
Merged
Use current time to check if observation is out of date#1872SteveMacenski merged 1 commit intoros-navigation:masterfrom
SteveMacenski merged 1 commit intoros-navigation:masterfrom
Conversation
Contributor
Author
Codecov Report
@@ Coverage Diff @@
## master #1872 +/- ##
==========================================
- Coverage 70.14% 69.29% -0.86%
==========================================
Files 218 218
Lines 10586 10586
==========================================
- Hits 7426 7336 -90
- Misses 3160 3250 +90
Continue to review full report at Codecov.
|
Member
|
@DLu can you take a look at this? I could go either way on it. |
Member
|
Thanks for the contribution @marting87 |
SteveMacenski
pushed a commit
that referenced
this pull request
Aug 11, 2020
ruffsl
pushed a commit
to ruffsl/navigation2
that referenced
this pull request
Jul 2, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Basic Info
Issue:
Points remain in obstacle layer after we stopped publishing a point cloud on regular basis. Settings to reproduce:
According to
observation_persistence: 1.0the point clouds used by the obstacle layers should time-out after 1 second.Analysis:
last_updated_is updated on every new cloud that needs to be added to the buffer.last_updated_.last_updated_will never be updated.observation_list_.observation_list_:Sensor origin at (x, y) is out of map bounds. The costmap cannot raytrace for it.Description of contribution in a few bullet points
last_updated_withnh_->now()in purgeStaleObservationsDescription of documentation updates required from your changes
Future work that may be required in bullet points