coincar-sim / lanelet_rviz_plugin_ros

BSD 3-Clause "New" or "Revised" License
33 stars 11 forks source link

Large sized lanelet2 maps #20

Open rreddy78 opened 7 months ago

rreddy78 commented 7 months ago

Hello,

Is there any limit on the size of lanelet2 maps that can be loaded ? I am trying to visualize a rather large lanelet2 map and there is a crash as follows:

[ INFO] [1712585500.512889425]: OpenGl version: 4.6 (GLSL 4.6) limited to GLSL 1.4 on Mesa system. [ INFO] [1712585500.566432188]: LaneletMapPlugin: retrieving map from lanelet2_interface_ros... rviz: /home/sxv1kor/Downloads/lanelet2_rviz/catkin_ws/src/lanelet_rviz_plugin_ros/src/map_element_ogre_helper.hpp:133: void ogre_helper::{anonymous}::drawMonoPolygon(const MonoPolygon&, Ogre::ManualObject, Ogre::ColourValue): Assertion `obj->getCurrentVertexCount() < 65535' failed. [my_rviz-2] process has died [pid 353920, exit code -6, cmd /opt/ros/noetic/lib/rviz/rviz -d /home/sxv1kor/Downloads/lanelet2_rviz/catkin_ws/src/lanelet_rviz_plugin_ros/launch/sample_lanelet_viz.rviz __name:=my_rviz __log:=/home/sxv1kor/.ros/log/28c163da-f5a1-11ee-8356-2d8d7ab87940/my_rviz-2.log]. log file: /home/sxv1kor/.ros/log/28c163da-f5a1-11ee-8356-2d8d7ab87940/my_rviz-2.log

Might not be able to share the lanelet2 file here, but here are the sizes: Num Nodes: 232428, Num Ways: 17018, Num Relations: 6208 Max Size of Way: 21 Nodes.

Thanks!

rreddy78 commented 7 months ago

Hey, I see that the issue is already reported here: [https://github.com/coincar-sim/lanelet_rviz_plugin_ros/issues/11] Is the solution to use the latest Orge libraries ?