public class OccupancyGridMap
extends java.lang.Object
Constructor and Description |
---|
OccupancyGridMap(int width,
int height,
double freeThreshold,
double occupiedThreshold,
double resolution) |
Modifier and Type | Method and Description |
---|---|
double |
getFreeThreshold() |
int |
getHeight() |
int |
getOccupied(int x,
int y) |
double |
getOccupiedThreshold() |
double |
getResolution() |
int |
getWidth() |
boolean |
isFree(int x,
int y) |
boolean |
isOccupied(int x,
int y) |
void |
setOccupied(int x,
int y,
int occupied) |
public OccupancyGridMap(int width, int height, double freeThreshold, double occupiedThreshold, double resolution)
public int getWidth()
public int getHeight()
public double getResolution()
public double getFreeThreshold()
public double getOccupiedThreshold()
public void setOccupied(int x, int y, int occupied)
public int getOccupied(int x, int y)
public boolean isOccupied(int x, int y)
public boolean isFree(int x, int y)