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

Fix marker handling #1400

Merged

Conversation

rhaschke
Copy link
Contributor

Fix segfaults due to invalid marker messages.

Ogre::Real might be float or double. Both types have different ranges.
@christian-rauch
Copy link
Contributor

Could you backport the other changes as well? E.g. setting the scale before checking the transform. This allows alternative uses of the function to make use of the scale even if the transform is not valid. Also I would encourage to initialise all values in general in RViz. It helps to debug issues, e.g. by having zeros instead of random values.

@rhaschke
Copy link
Contributor Author

I intentionally didn't port these changes because they are unnecessary overhead as discussed in #1396 (review).
If transform() fails, the arguments are (still) invalid. Period.

@rhaschke rhaschke merged commit a47f43e into ros-visualization:melodic-devel Aug 13, 2019
@rhaschke rhaschke deleted the fix-marker-handling branch August 13, 2019 08:09
@rhaschke rhaschke mentioned this pull request Sep 1, 2019
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