Public Member Functions | Public Attributes | List of all members
src.MyGridMap.MyGridMap Class Reference

Public Member Functions

def __init__ (self, grid)
 
def areNeighbour (self, index1, index2)
 
def createPGM (self)
 
def getCoordinates (self, index)
 
def getData (self, index)
 
def getData (self, x, y)
 
def getHeight (self)
 
def getIndex (self, x, y)
 
def getOccupancyGrid (self)
 
def getOriginX (self)
 
def getOriginY (self)
 
def getResolution (self)
 
def getSize (self)
 
def getWidth (self)
 
def isFree (self, index)
 
def isFree (self, x, y)
 
def isFrontier (self, index)
 
def isFrontier (self, x, y)
 

Public Attributes

 lethalCost
 
 mapHeight
 
 mapWidth
 
 occupancyGrid
 

Detailed Description

Definition at line 13 of file MyGridMap.py.

Constructor & Destructor Documentation

◆ __init__()

def src.MyGridMap.MyGridMap.__init__ (   self,
  grid 
)

Definition at line 14 of file MyGridMap.py.

Member Function Documentation

◆ areNeighbour()

def src.MyGridMap.MyGridMap.areNeighbour (   self,
  index1,
  index2 
)

Definition at line 139 of file MyGridMap.py.

◆ createPGM()

def src.MyGridMap.MyGridMap.createPGM (   self)

Definition at line 116 of file MyGridMap.py.

◆ getCoordinates()

def src.MyGridMap.MyGridMap.getCoordinates (   self,
  index 
)

Definition at line 41 of file MyGridMap.py.

◆ getData() [1/2]

def src.MyGridMap.MyGridMap.getData (   self,
  index 
)

Definition at line 57 of file MyGridMap.py.

◆ getData() [2/2]

def src.MyGridMap.MyGridMap.getData (   self,
  x,
  y 
)

Definition at line 64 of file MyGridMap.py.

◆ getHeight()

def src.MyGridMap.MyGridMap.getHeight (   self)

Definition at line 23 of file MyGridMap.py.

◆ getIndex()

def src.MyGridMap.MyGridMap.getIndex (   self,
  x,
  y 
)

Definition at line 50 of file MyGridMap.py.

◆ getOccupancyGrid()

def src.MyGridMap.MyGridMap.getOccupancyGrid (   self)

Definition at line 38 of file MyGridMap.py.

◆ getOriginX()

def src.MyGridMap.MyGridMap.getOriginX (   self)

Definition at line 32 of file MyGridMap.py.

◆ getOriginY()

def src.MyGridMap.MyGridMap.getOriginY (   self)

Definition at line 35 of file MyGridMap.py.

◆ getResolution()

def src.MyGridMap.MyGridMap.getResolution (   self)

Definition at line 29 of file MyGridMap.py.

◆ getSize()

def src.MyGridMap.MyGridMap.getSize (   self)

Definition at line 26 of file MyGridMap.py.

◆ getWidth()

def src.MyGridMap.MyGridMap.getWidth (   self)

Definition at line 20 of file MyGridMap.py.

◆ isFree() [1/2]

def src.MyGridMap.MyGridMap.isFree (   self,
  index 
)

Definition at line 69 of file MyGridMap.py.

◆ isFree() [2/2]

def src.MyGridMap.MyGridMap.isFree (   self,
  x,
  y 
)

Definition at line 77 of file MyGridMap.py.

◆ isFrontier() [1/2]

def src.MyGridMap.MyGridMap.isFrontier (   self,
  index 
)

Definition at line 87 of file MyGridMap.py.

◆ isFrontier() [2/2]

def src.MyGridMap.MyGridMap.isFrontier (   self,
  x,
  y 
)

Definition at line 108 of file MyGridMap.py.

Member Data Documentation

◆ lethalCost

src.MyGridMap.MyGridMap.lethalCost

Definition at line 18 of file MyGridMap.py.

◆ mapHeight

src.MyGridMap.MyGridMap.mapHeight

Definition at line 17 of file MyGridMap.py.

◆ mapWidth

src.MyGridMap.MyGridMap.mapWidth

Definition at line 16 of file MyGridMap.py.

◆ occupancyGrid

src.MyGridMap.MyGridMap.occupancyGrid

Definition at line 15 of file MyGridMap.py.


The documentation for this class was generated from the following file:


rose2
Author(s): Gabriele Somaschini, Matteo Luperto
autogenerated on Wed Jun 28 2023 02:21:53