-
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
After the display plug-in is unchecked, objects displayed in the 3D area still exist. #1764
Comments
It might be possible that there was a message pending in the ROS callback queue, when you disabled the display. |
Could you please verify whether #1765 fixes your issue? |
There is a low probability that this problem occurs. It occurs 2 to 3 times every 100 times checked and unchecked operation. |
You are right. I shifted the check to the base class. |
I tried new modifications #1765 and found the problem reappeared. It seems that putting modifications in the incomingMessage function does not work. I tried putting the modifications in the processTypeErasedMessage function and the problem was fixed. |
Thanks for this hint. I merged a different version to Noetic. |
Describe your issue here and explain how to reproduce it.
My scenario goes like this: I construct a PointStamped data and send it at 30 Hz to the rviz for display. When the PointStamped plug-in is checked and unchecked several times, the following phenomenon occurs occasionally: The plug-in is unchecked, but objects are still displayed in the 3D area. This phenomenon seems to occur only in the noetic version, as I cannot reproduce it in the melodic.
The PointStamped data I constructed is as follows:
header:
seq: 341
stamp:
secs: 1590459933
nsecs: 777035282
frame_id: "map"
point:
x: 1.2
y: 2.2
z: 3.2
Your environment
OS Version: Ubuntu 20.04
ROS Distro: Noetic
RViz, Qt, OGRE, OpenGl version as printed by rviz:
System locale, i.e. the output of
echo "$LANG $LC_NUMERIC"
: zh_CN.UTF-8The text was updated successfully, but these errors were encountered: