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

dynamic obstacle layer not working on global costmap

asked 2022-08-05 09:55:53 -0500

Ammar Albakri gravatar image

Hi, I am using the following plugins for global costmap:

plugins:

  - {name: navigation_map, type: "costmap_2d::StaticLayer" }
  - {name: obstacles,  type: "costmap_2d::VoxelLayer" }
  - {name: inflation,  type: "costmap_2d::InflationLayer" }

and in the same way I use these for my local costmap:

plugins:

 - {name: obstacles,  type: "costmap_2d::VoxelLayer" }
 - {name: inflation,  type: "costmap_2d::InflationLayer" }

In this context I have 2 scans (front,back) added to my obstacles observation_sources, dynamic obstacles can be seen in the local costmap but not in the global costmap.

I have no idea what could cause that, since it is working in local costmap most trivial problems can be eliminated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-09-20 09:42:02 -0500

David Lu gravatar image

If you dump your parameters when your system is running, make sure the parameters are set the way you expect them to be.

Check for any warnings in the terminal that might give a hint why the global isn't working.

Make sure that the global and local costmap appear where you expect them to be spatially in RViz.

edit flag offensive delete link more

Comments

I solved this problem thanks, it was my urdf. my wheel links were on the ground with no height at all (like on the same level with map)

Ammar Albakri gravatar image Ammar Albakri  ( 2022-09-20 09:45:40 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2022-08-05 09:55:53 -0500

Seen: 204 times

Last updated: Sep 20 '22