From af343149af877cf321ec4822b80e2c6ffd8c8d23 Mon Sep 17 00:00:00 2001 From: Tony Najjar Date: Wed, 10 Jan 2024 21:51:31 +0000 Subject: [PATCH] test --- .../nav2_simple_commander/costmap_2d.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nav2_simple_commander/nav2_simple_commander/costmap_2d.py b/nav2_simple_commander/nav2_simple_commander/costmap_2d.py index 2ddc9cb00f..db63a80d98 100644 --- a/nav2_simple_commander/nav2_simple_commander/costmap_2d.py +++ b/nav2_simple_commander/nav2_simple_commander/costmap_2d.py @@ -34,6 +34,15 @@ class PyCostmap2D: """ def __init__(self, occupancy_map): + """ + Initialize costmap2D. + + Args + ---- + occupancy_map: OccupancyGrid + 2D OccupancyGrid Map + + """ self.size_x = occupancy_map.info.width self.size_y = occupancy_map.info.height self.resolution = occupancy_map.info.resolution