-
Notifications
You must be signed in to change notification settings - Fork 466
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
Whenever open a dialog, the data stop update in 3D area and panels #1606
Comments
This protection was introduced in #631 on purpose. Did you try what happens if you overload the main rendering loop? |
Got it, I will test that later |
Reverting #631 doesn't prevent message processing and display updating from pausing. This is due to the fact that all dialogs are modal, i.e. prevent Qt's event processing for other windows. |
I just tested it and commented out stopUpdate, and the data was still refreshing when the dialog was opened. So it has nothing to do with the modal window. |
Partially reverts ros-visualization#631. Fixes ros-visualization#1606.
I test it as well (see this branch) and the display wasn't refreshing for me!? Could you provide your branch as well for testing? |
I pulled up the latest code(melodic-devel), and only commet this line: rviz/src/rviz/visualization_manager.cpp Line 306 in 3fa78da
|
I have download your branch and tested, the point cloud data is still updating in the 3D area. |
Partially reverts ros-visualization#631. Fixes ros-visualization#1606.
Hm. Don't know what happened before. But it works now for me as well. In principle, I'm fine to accept this behaviour for Noetic. |
Partially reverts ros-visualization#631. Fixes ros-visualization#1606.
Maybe this is not an issue, just a qustion.
I found every time a open a Dialog, such as NewDisplay, NewPanels, the pointcloud and image stop updating.
I check the code, found every time before open a dialog, will call
rviz/src/rviz/visualization_frame.cpp
Line 642 in 7383000
When the dialog is closed, a startUpdate() wil called.
So, I just wondering why the stopUpdate() should be called. I comment the manager_->stopUpdate(); line, It still working perfectly, and the pointcloud and image is continuous changing, I'm happy with that :)
So, could you help me to get out from this question? thanks.
Environment
The text was updated successfully, but these errors were encountered: