Package lejos.robotics.mapping
Class OccupancyGridMap
- java.lang.Object
-
- lejos.robotics.mapping.OccupancyGridMap
-
public class OccupancyGridMap extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OccupancyGridMap(int width, int height, double freeThreshold, double occupiedThreshold, double resolution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetFreeThreshold()intgetHeight()intgetOccupied(int x, int y)doublegetOccupiedThreshold()doublegetResolution()intgetWidth()booleanisFree(int x, int y)booleanisOccupied(int x, int y)voidsetOccupied(int x, int y, int occupied)
-
-
-
Method Detail
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getResolution
public double getResolution()
-
getFreeThreshold
public double getFreeThreshold()
-
getOccupiedThreshold
public double getOccupiedThreshold()
-
setOccupied
public void setOccupied(int x, int y, int occupied)
-
getOccupied
public int getOccupied(int x, int y)
-
isOccupied
public boolean isOccupied(int x, int y)
-
isFree
public boolean isFree(int x, int y)
-
-