rst-tu-dortmund / costmap_converter

A ros package that includes plugins and nodes to convert occupied costmap2d cells to primitive types
138 stars 106 forks source link

Introducing "CostmapToDynamicObstacles" plugin #2

Closed croesmann closed 7 years ago

croesmann commented 7 years ago

This pull request adds the costmap to dynamic obstacles plugin (written by Franz Albers). It detects the dynamic foreground of the costmap (based on the temporal evolution of the costmap) including blobs representing the obstacles. Furthermore, Kalman-based tracking is applied to estimate the current velocity for each obstacle.

New message types are introduced: costmap_converter::ObstacleMsg and costmap_converter::ObstacleArrayMsg. These types extend the previous polygon representation by additional velocity, orientation and id information.

Note, this plugin is still experimental. TODO: the extracted polygon might have a large number of vertices. A reduction to smaller (convex) polygons, circles or rectangles can also be of interest (from the planning point of view).