Hi,
I need to visualize all possible areas that a LIDAR positioned on any robot/vehicle can see and the blind spots that may occur, depending on its location and technical features. For this, I wrote some codes using the classes in the "mrpt-maps" and "mrpt-opengl" modules, but I could not get exactly the result I wanted. I started the development process by examining the "maps_gmrf_map_example" and "maps_gridmap3D_simple" examples included in the C++ examples.
When I used COccupancyGridMap3D, I could not get the visualization I wanted and I could not even visualize the occupied voxels, only the grid map I created just appeared.
When I used CColouredOctoMap, I got a result close to what I wanted, even if it was black and white, but the main problem with CColouredOctoMap is that it only colors the pointcloud points where they reach. For this reason, the spaces between the pointcloud rings are not colored when they are on a flat area, as seen in the image below. What I'm basically trying to achieve is to color the grid cells that a pointcloud point originating from the sensor center passes through throughout its path.

When I use CGasConcentrationGridMap2D, my main problem is that I cannot access the resulting grid cells. I am also trying to develop the code I developed for more than one LIDAR, and I need to color the areas seen by more than one LIDAR according to this system. Additionally, when there are many points, everywhere on the map is almost the same color, and I want to be able to clearly distinguish places that are outside the LIDAR range.

What is your suggestion at this point? Am I missing some functions in the classes I use? Are there any other classes that I missed that would solve my problem? Basically what I'm trying to do can be done with MRPT? If possible, what can be improved using?
I generate LIDAR data using MVSim. In the code I developed, I access pointcloud data by subscribing through the ROS system.
Hi,
I need to visualize all possible areas that a LIDAR positioned on any robot/vehicle can see and the blind spots that may occur, depending on its location and technical features. For this, I wrote some codes using the classes in the "mrpt-maps" and "mrpt-opengl" modules, but I could not get exactly the result I wanted. I started the development process by examining the "maps_gmrf_map_example" and "maps_gridmap3D_simple" examples included in the C++ examples.
When I used COccupancyGridMap3D, I could not get the visualization I wanted and I could not even visualize the occupied voxels, only the grid map I created just appeared.
When I used CColouredOctoMap, I got a result close to what I wanted, even if it was black and white, but the main problem with CColouredOctoMap is that it only colors the pointcloud points where they reach. For this reason, the spaces between the pointcloud rings are not colored when they are on a flat area, as seen in the image below. What I'm basically trying to achieve is to color the grid cells that a pointcloud point originating from the sensor center passes through throughout its path.
When I use CGasConcentrationGridMap2D, my main problem is that I cannot access the resulting grid cells. I am also trying to develop the code I developed for more than one LIDAR, and I need to color the areas seen by more than one LIDAR according to this system. Additionally, when there are many points, everywhere on the map is almost the same color, and I want to be able to clearly distinguish places that are outside the LIDAR range.
What is your suggestion at this point? Am I missing some functions in the classes I use? Are there any other classes that I missed that would solve my problem? Basically what I'm trying to do can be done with MRPT? If possible, what can be improved using?
I generate LIDAR data using MVSim. In the code I developed, I access pointcloud data by subscribing through the ROS system.