how to find or know the values for Z-axis in octomap?
I have an octomap and trying to do localization with it. I trying to make a slice from a 3d-map (octomap) to consider a single 2d plane for localization with amcl package. I uploaded the map in rviz using octomap_server_node,
$ rosrun octomap_server octomap_server_node bin.bt _occupacy_min_z:=-0.01 _occupancy_max_z:=0.01
I tried different z values in different maps, though I cannot find how the z-values are distributed in the z-axis. I would like to find where the zero of the z-axis lies and I believe that z-values are in meter.
Bottom line is how to slice the 3d map to get a single 2d plane.
Thanks in advance for your suggestions.
Updated:
The resolution=0.025, so i started bigger values. I use rviz to visualize the map, after using the above command. Either I use values in negative z-plane (ex. {-0.05,0} or positive z-plane {0,0.05}, always the map lies in negative plane of the z-axis (which is viewed in 'rviz'). Also, it seems to be more thicker in z-axis for thickness 0.05m.