Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Measurement buffer does not remove old observations if no observations are retrieved anymore #2

Conversation

schupf2
Copy link

@schupf2 schupf2 commented Nov 28, 2024

Change the check in RemoveStaleObservations such that it considers the age of the received data instead of when the data was received relative to the last received data.

… assure that new readings are included in the costmap within a single update cycle. Furthermore, fix `isCurrent` Logic to only report true if the costmap is really current (also after a reset).
@schupf2 schupf2 self-assigned this Nov 28, 2024
@schupf2 schupf2 marked this pull request as ready for review November 28, 2024 12:54
@schupf2 schupf2 requested a review from sjusner November 28, 2024 12:55
@schupf2
Copy link
Author

schupf2 commented Nov 28, 2024

Here the corresponding issue we raised in the official stvl repo: SteveMacenski#307

Copy link

@sjusner sjusner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@schupf2
Copy link
Author

schupf2 commented Nov 28, 2024

Closed because handled in a different PR on an individual branch

@schupf2 schupf2 closed this Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants