#include <GridMap.h>
List of all members.
Public Member Functions |
| bool | getCoordinates (unsigned int &x, unsigned int &y, unsigned int i) |
| char | getData (unsigned int index) |
| char | getData (int x, int y) |
| std::vector< unsigned int > | getFreeNeighbors (unsigned int index, int offset=1) |
| unsigned int | getHeight () |
| bool | getIndex (unsigned int x, unsigned int y, unsigned int &i) |
| char | getLethalCost () |
| const nav_msgs::OccupancyGrid & | getMap () const |
| std::vector< unsigned int > | getNeighbors (unsigned int index, bool diagonal=false) |
| double | getOriginX () |
| double | getOriginY () |
| double | getResolution () |
| unsigned int | getSize () |
| unsigned int | getWidth () |
| bool | isFree (unsigned int index) |
| bool | isFree (int x, int y) |
| bool | isFrontier (unsigned int index) |
| bool | setData (unsigned int index, char value) |
| bool | setData (int x, int y, char value) |
| void | setLethalCost (char c) |
| void | update (nav_msgs::OccupancyGrid grid) |
Private Attributes |
| char | mLethalCost |
| unsigned int | mMapHeight |
| unsigned int | mMapWidth |
| nav_msgs::OccupancyGrid | mOccupancyGrid |
Detailed Description
Definition at line 7 of file GridMap.h.
Member Function Documentation
Gets indices of all free neighboring cells with given offset
Definition at line 98 of file GridMap.h.
Gets indices of all neighboring cells
Definition at line 115 of file GridMap.h.
Member Data Documentation
The documentation for this class was generated from the following file: