Skip to content

Commit

Permalink
Bring back pep257 docstring (#4045)
Browse files Browse the repository at this point in the history
* test

Signed-off-by: Tony Najjar <[email protected]>

* .

Signed-off-by: Tony Najjar <[email protected]>

---------

Signed-off-by: Tony Najjar <[email protected]>
  • Loading branch information
tonynajjar authored Jan 10, 2024
1 parent 5f7f83a commit 370dbfd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions nav2_simple_commander/nav2_simple_commander/costmap_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ class PyCostmap2D:
"""

def __init__(self, occupancy_map):
"""
Initialize costmap2D.
Args
----
occupancy_map (OccupancyGrid): 2D OccupancyGrid Map
Returns
-------
None
"""
self.size_x = occupancy_map.info.width
self.size_y = occupancy_map.info.height
self.resolution = occupancy_map.info.resolution
Expand Down

0 comments on commit 370dbfd

Please sign in to comment.