How to set the max distance of rtabmap?
Hello,
First, I am new to ROS. I have an nVidia Jetson with a Stereolabs ZED2. I try to build a map using rtabmap. I follow these steps to get it to work. The result is as follows:
However, I try to generate a map with a bigger range. I want the range to be similar to the size of the PointCloud2 topic. Right now, the octomap_grid only shows ~5 meters. I would prefer it to increase the mapping process and the shown map closer to 10 or 15 meters.
I changed the following parameters in rtabmap.launch:
<node unless="$(arg stereo)" pkg="rtabmap_ros" type="rgbd_odometry" name="rgbd_odometry" output="$(arg output)" args="$(arg rtabmap_args) $(arg odom_args)" launch-prefix="$(arg launch_prefix)">
<param name="Vis/MaxDepth" type="string" value="20"/>
....
</node>
<node name="rtabmap" pkg="rtabmap_ros" type="rtabmap" output="$(arg output)" args="$(arg rtabmap_args)" launch-prefix="$(arg launch_prefix)">
<param name="Vis/MaxDepth" type="string" value="20"/>
....
</node>
This does not seem to affect anything. What can I do to increase the size of the map?