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

Range sensor layer marked obstacles cannot be cleared by LaserScan [closed]

asked 2020-10-22 21:00:38 -0500

Gerry gravatar image

Hi,

Just a quick question. I found that the obstacles marked by ultrasound (plugin RangeSensorLayer) cannot be cleared by Laser Scan on costmap. But these obstacles can be cleared by ultrasound itself. On the other side, Laser Scan marked obstacles cannot be cleared by ultrasound either according to my experiment. I use ROS kinetic. Is my observation correct or there is something wrong in my configuration of experiment? Any insight would be highly appreciated.

Best regards, Gerry

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Gerry
close date 2020-11-17 18:30:46.549253

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-11-13 00:01:21 -0500

Gerry gravatar image

OK, after some study and experiments, I guess I find the reason. The obstacle marked/cleared by ultrasound is performed by range_sensor_layer::RangeSensorLayer while the obstacle cleared by Laser Scan is implemented by costmap2d::ObstacleLayer. It is simply that they are at different layers so that one cannot be cleared by the other.

I provide my findings here so other people who might face similar problem can get some insight from this post. The concept of layers used by costmap is the key to this problem.

Best regards, Gerry

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-10-22 21:00:38 -0500

Seen: 94 times

Last updated: Nov 13 '20