How to change height of the point cloud slice?
I'm using a Turtlebot 2 with Kinect-sensor, ROS distro is Indigo.
As I understand the sensors IR laser measures a point cloud from which is taken a slice with definable thickness. This slice is then compressed into a 2d plane so that points nearest the robot are taken into account as obstacles.
I tested the thickness of the observation area in gmapping_demo (with default settings) and noticed that it was only a really narrow plane at the height of the sensor. Ignoring obstacles below and above this plane causes the robot e.g. to try to navigate below things it isn't able to go under.
I tried to change two parameters in costmap_common_params.yaml:
scan/min_obstacle_height: from 0.25 to 0.01 and
scan/max_obstacle_height: from 0.35 to 0.50
this didn't have any effect.
Is it possible to adjust the thickness of the "observation layer" - how could I do it?