Hard coded create occupacy grid in localization mode
Hi , why in CoreWrapper.cpp there is uInsert(allParameters, ParametersPair(Parameters::kRGBDCreateOccupancyGrid(), "true"));? How can I run in localization mode without creating occupacy grid ? Thanks
on same issue changing uInsert(allParameters, ParametersPair(Parameters::kRGBDCreateOccupancyGrid(), "true")) to uInsert(allParameters, ParametersPair(Parameters::kRGBDCreateOccupancyGrid(), "false")) not preventing from create occupacy grid. what configuration needed not to enter if(_createOccupancyGrid && !isIntermediateNode) ? Thanks
By default on ROS, we set RGBD/CreateOccupancyGrid to true. The following code reads config file, rosparam or arguments that can overwrite it:
https://github.com/introlab/rtabmap_ros/blob/49cbce487426bbddfe0eaff07f371c2324e094d1/rtabmap_slam/src/CoreWrapper.cpp#L335-L405
Launch with argument "--RGBD/CreateOccupancyGrid false" or set rosparam <param name="RGBD/CreateOccupancyGrid" value="false"/>