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

[bugfix] Stop update while showing dialog boxes. Fixes #629 #631

Merged
merged 2 commits into from
Apr 17, 2013

Conversation

dgossow
Copy link
Member

@dgossow dgossow commented Apr 17, 2013

This fixes the problem that rviz becomes effectively unusable when the update/render cycle takes too long (e.g. while showing high-frequency point cloud data).

All the dialogs will keep the main thread from calling any ROS callbacks, update functions or re-rendering the 3d view while they are active.

Also, removes outdated stuff from visualization manager.

hershwg added a commit that referenced this pull request Apr 17, 2013
[bugfix] Stop update while showing dialog boxes. Fixes #629
@hershwg hershwg merged commit ab26845 into groovy-devel Apr 17, 2013
@hershwg hershwg deleted the fix-629 branch April 17, 2013 19:20
@rhaschke rhaschke mentioned this pull request Apr 15, 2021
rhaschke added a commit to rhaschke/rviz that referenced this pull request Jun 17, 2021
VisualizationManager uses [start|stop]Update() to pause ROS updates during dialog box interaction (ros-visualization#631).
However, asynchronous updates via threaded_queue_ were still performed, leading to a memory leak (ros-visualization#1621),
because messages were partially processed by the thread (i.e. kept in memory), but not finally processed
(and cleaned up) by the synchronous Display::update() call.
Pausing threaded processing too resolves that issue.
rhaschke added a commit to rhaschke/rviz that referenced this pull request Jun 18, 2021
rhaschke added a commit to rhaschke/rviz that referenced this pull request Jun 18, 2021
rhaschke added a commit to rhaschke/rviz that referenced this pull request Jun 19, 2021
rhaschke added a commit that referenced this pull request Jun 19, 2021
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