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

Obstacle layer in the layered costmap

asked 2023-06-11 12:04:19 -0500

Rayen gravatar image

when the obstacle layer mark a cell as a lethal cell in the master layer, does it keep updating this cell as occupied until it is cleared by clearing observation ? Or it is only updated one time when it is detected by laser scanner ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-06-11 15:18:11 -0500

Yes, it remains until something tells it to be cleared either by raycasting or via an explicit costmap clear

edit flag offensive delete link more

Comments

thanks for replying. What i meant is: does the obstacle layer keeps on updating this cell as occupied in each update cycle ?

Rayen gravatar image Rayen  ( 2023-06-11 15:21:46 -0500 )edit

It remains marked in the master costmap as occupied, yes.

stevemacenski gravatar image stevemacenski  ( 2023-06-12 18:29:40 -0500 )edit

Hi Steve, I appreciate your reply. But I think my question is misunderstood. To be clear, I created a layer that clears robot footprints in a multi-robot system, but the lethal cells come back after they are cleared, even if they are no longer detected by the laser scan. It's as if these cells are somehow continuously marked by the obstacle layer until they are cleared by the obstacle layer itself.

Rayen gravatar image Rayen  ( 2023-06-14 07:08:01 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2023-06-11 12:04:19 -0500

Seen: 43 times

Last updated: Jun 11 '23