jsk-ros-pkg/jsk_visualization

RViz crashes when trying to set the "only border" parameter to false for the message jsk_rviz_plugin/PolygonArray

dymons opened this issue · 4 comments

Hi. The RViz config was configured for rendering using the jsk_rviz_plugin/PolygonArray message on Ubuntu 18.04 ROS Melodic. When switching to Ubuntu 20.04 ROS Noetic RViz started to crash with the message:

[ WARN] [1610455053.000758141, 1941.347000000]: OGRE EXCEPTION(5:ItemIdentityException): Cannot find a group named rviz in ResourceGroupManager::isResourceGroupInitialised at /build/ogre-1.9-kiU5_5/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreResourceGroupManager.cpp (line 1916)
terminate called after throwing an instance of 'Ogre::ItemIdentityException'
  what():  OGRE EXCEPTION(5:ItemIdentityException): Cannot find a group named rviz in ResourceGroupManager::isResourceGroupInitialised at /build/ogre-1.9-kiU5_5/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreResourceGroupManager.cpp (line 1916)

Experimentally, I found that this happens when I try to set the only border parameter to false for the jsk_rviz_plugin/PolygonArray message. Could you tell me how to solve this problem? Since I need to render the filled polygons, not their borders.

$ uname -a
Linux 5.8.0-36-generic #40~20.04.1-Ubuntu SMP Wed Jan 6 10:15:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ echo ${ROS_DISTRO}
noetic

Have the same problem

KenYN commented

What's the latest on this issue? It's a real showstopper for me. locusrobotics/robot_navigation#86 (comment) fixes it for me.

can you investigate more detailed information?
we do not have enough resource to investigate this issue on noetic.

I submit a PR #820 to solve this issue.
can anyone check this PR?