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 several issues with Camera and Image display #1409

Merged
merged 5 commits into from
Aug 30, 2019

Conversation

rhaschke
Copy link
Contributor

@rhaschke rhaschke commented Aug 30, 2019

This PR fixes several, partially long-standing, issues with Camera and Image display. See individual commit messages for details.

Fixes #940
Fixes #1368

Unfortunately, the current, "clean" implementation requires an ABI change.
But I added an ABI compatible solution, using a global map to store the new member instead.

- remove redundancies
- "Camera Info OK", although never received
- unify wording
... also when clearing tf_filter_ in reset()
Otherwise received messages might be reported, which were outdated.
Property::load() first loads value "Value", which triggers enabling of the display if true.
However, at that time, none of the parameters are loaded yet.
This resolves several open issues of displays with associated widgets (e.g. Camera and Image).
- when minimizing / unminimizing the main window, the enabled status of those displays changed
- tabbed DockWidgets were closed (and couldn't easily be reopened by enabling the display)
@rhaschke rhaschke force-pushed the fix-camera-image branch 2 times, most recently from cafa965 to b6362c1 Compare August 30, 2019 20:21
@rhaschke rhaschke merged commit e3ffad5 into ros-visualization:melodic-devel Aug 30, 2019
@rhaschke rhaschke deleted the fix-camera-image branch August 30, 2019 20:26
@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
1 participant