Re: configuration for generating laser scan using the gen_scan option

Posted by jamrs on
URL: http://official-rtab-map-forum.206.s1.nabble.com/configuration-for-generating-laser-scan-using-the-gen-scan-option-tp7286p7335.html

Hello,

I did a fresh installation but I am not sure how I can verify that gen_scan is working correctly. When I set the parameters as follows:
1. subscribe_scan=false
2. subscribe_depth=true
3. gen_scan=true
4. grid/fromdepth=false

I get grid map is empty warning when I try to visualize it on rviz.

when I change the parameters to:
1. subscribe_scan=false
2. subscribe_depth=true
3. gen_scan=true
4. grid/fromdepth=true

I end up with the same result as if the gen_scan was false. So how can I verify that gen_scan is working properly?
I am attaching the relevant launch files heremapping.launch   mvp_rtabmap.launch