Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions commander_api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,23 @@ This is a Python3 API for costmap 2d messages from the stack. It provides the ba
+---------------------------------------+----------------------------------------------------------------------------+
| getCostmapTimestamp() | Get costmap timestamp. |
+---------------------------------------+----------------------------------------------------------------------------+
| getCostXY(mx, my) | Get the cost (``int``) of a cell in the costmap using mx(``int``), |
Comment thread
JacksonK9 marked this conversation as resolved.
Outdated
| | my(``int``) of Map Coordinate. |
+---------------------------------------+----------------------------------------------------------------------------+
| getCostIdx(index) | Get the cost (``int``) of a cell in the costmap using index(``int``) |
+---------------------------------------+----------------------------------------------------------------------------+
| setCost(mx, my, cost) | Set the cost (``np.int8``) of a cell in the costmap using mx(``int``), |
Comment thread
JacksonK9 marked this conversation as resolved.
Outdated
| | my(``int``) of Map Coordinate. |
+---------------------------------------+----------------------------------------------------------------------------+
| mapToWorld(mx, my) | Get the wx(``float``), wy(``float``) of world coodinate XY using |
| | mx(``int``), my(``int``) of map coordinate XY |
+---------------------------------------+----------------------------------------------------------------------------+
| worldToMap(wx, wy) | Get the mx(``int``), my(``int``) of map coodinate XY using |
| | wx(``float``), wy(``float``) of world coordinate XY |
+---------------------------------------+----------------------------------------------------------------------------+
| getIndex(mx, my) | Get the index(``int``) of the cell using mx(``int``), my(``int``) of |
| | map coodinate XY |
+---------------------------------------+----------------------------------------------------------------------------+

Examples and Demos
******************
Expand Down