Less than 4 points in a cell
Hi,
I am able to successfully run ros2 launch grid_map_pcl grid_map_pcl_loader_launch.py with plane_noisy.pcd file provided in the repo.
and also able to run ros2 launch grid_map_demos grid_map_loader_demo_launch.py by pointing this file to the folder where the bag file is created by ros2 launch grid_map_pcl grid_map_pcl_loader_launch.py
When i try the same on other .pcd files i always get an error "Less than 4 points in a cell". I have increased the grid cell resolution in the parameters.yaml, but still get the same error.
Please help me in addressing the issue. Thanks in advance!
partially Solved the issue I had to use the rigid translation of my pointcloud my points wer something like 734661.52796 2975382.66249 1041.279 so i basically gave the following in the parameters.yaml cloud_transform: translation: x: -735762.50540 y: -2978489.25386 z: -909.607
this made the PCL come closer to the origin i guess.
- may be i can find the center of my PCL and translate it there and this should bring the origin to the center of the pcl?
Is this how it works?
Thankyou!