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

Use clock from context in markers #472

Merged
merged 4 commits into from
Oct 18, 2019

Conversation

Martin-Idel
Copy link
Contributor

@Martin-Idel Martin-Idel commented Oct 17, 2019

Markers currently use their own clock to set marker lifetime. This is definitely unintended as everything within RViz should use the same clock.

In addition, the deletion method for makers with expired lifetime looks suspicious, so I refactored it to work better.

This might or might not be enough to fix #464, I couldn't test it right now.

@Martin-Idel Martin-Idel force-pushed the bugfix/use_clock_in_marker_display branch from ba7da54 to 6014269 Compare October 17, 2019 18:31
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM (I fixed a small lint error)

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

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.

Rviz2 marker lifetime
2 participants