You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to use the octomap_server to generate an OctoMap that goes up to +/- 120 from the map origin. Points outside the +/-100 range are excluded from the OctoMap, despite setting larger parameter values for pointcloud_[min|max]_z in the launch file.
My launch file looks like this.
<launch>
<nodepkg="octomap_server"type="octomap_server_node"name="octomap_server">
<paramname="resolution"value="0.1" />
<!-- fixed map frame (set to 'map' if SLAM or localization running!) -->
<paramname="frame_id"type="string"value="/map" />
<!-- maximum range to integrate (speedup!) -->
<paramname="sensor_model/max_range"value="30.0" />
<paramname="latch"value="false"/>
<paramname="pointcloud_min_z"value="-200.0"/>
<paramname="pointcloud_max_z"value="200.0"/>
<!-- data source to integrate (PointCloud2) -->
<remapfrom="cloud_in"to="/cloud" />
</node>
<nodepkg="mapping"type="tf_broadcaster.py"name="tf_broadcaster"output="screen"></node>
<nodepkg="mapping"type="nav_publisher.py"name="nav_publisher"output="screen"></node>
</launch>
I can see that my launch file is correctly accessing the parameters, because if I instead set the pointcloud_[min|max]_z to have a magnitude less than -/+100 (e.g. -/+20), these values will be reflected in the terminal with,
~/catkin_ws$ rosparam get /octomap_server/pointcloud_min_z
-20.0
~/catkin_ws$ rosparam get /octomap_server/pointcloud_max_z
20.0
However, if the parameter is set to be greater than -/+100, it appears to be reset to -/+100. Is this the intended function? The package summary here suggests that the intended default value for these parameters are -/+ infinity.
Thanks!
The text was updated successfully, but these errors were encountered:
I have been trying to use the octomap_server to generate an OctoMap that goes up to +/- 120 from the map origin. Points outside the +/-100 range are excluded from the OctoMap, despite setting larger parameter values for pointcloud_[min|max]_z in the launch file.
My launch file looks like this.
I can see that my launch file is correctly accessing the parameters, because if I instead set the pointcloud_[min|max]_z to have a magnitude less than -/+100 (e.g. -/+20), these values will be reflected in the terminal with,
However, if the parameter is set to be greater than -/+100, it appears to be reset to -/+100. Is this the intended function? The package summary here suggests that the intended default value for these parameters are -/+ infinity.
Thanks!
The text was updated successfully, but these errors were encountered: