ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to change height of the point cloud slice?

asked 2016-05-10 04:37:19 -0500

Erkki gravatar image

updated 2016-05-10 05:13:38 -0500

gvdhoorn gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-05-10 05:05:15 -0500

Jbot gravatar image

updated 2016-05-10 05:13:12 -0500

gvdhoorn gravatar image

Hi,

I think you can do this by editing the turtlebot_bringup / 3dsensor.launch file.

In this file, you will find the parameter "scan_height".

Just change the value (10 by default) with the value you want, for example :

<param name="scan_height" value="50"/>
edit flag offensive delete link more

Comments

OK, thanks! Unfortunately even if the slice thickness could be increased, the parameter seem to define vertically more or less an arc-type scan area, so it depends also on measuring distance whether an obstacle is marked into the map or not. Those costmap parameters did neither have effect on this.

Erkki gravatar image Erkki  ( 2016-05-10 06:20:53 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-05-10 04:37:19 -0500

Seen: 408 times

Last updated: May 10 '16