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

set radius first for points displayed by PointStamped display #1586

Merged
merged 1 commit into from
Feb 9, 2021

Conversation

ns130291
Copy link
Contributor

@ns130291 ns130291 commented Feb 9, 2021

This PR fixes the following problem:
Currently the PointStamped display does not show added points as long as the circular buffer is filled once fully. This problem is most of the times not noticed if the history size is quite short or the topic is updated very fast. But if you have a topic with a slow rate and a long history it can take some time to fill the buffer.

The solution is to set the radius before calling the setMessage function of PointStampedVisual as this function uses the radius to set the size of the underlying Shape.

@rhaschke rhaschke merged commit 59e84bd into ros-visualization:melodic-devel Feb 9, 2021
@rhaschke
Copy link
Contributor

rhaschke commented Feb 9, 2021

Thanks for this fix.

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