pyrobosim.navigation.occupancy_grid.OccupancyGrid.is_occupied

OccupancyGrid.is_occupied(pos)

Check if a given position in the grid is occupied

Parameters:

pos ((int, int)) – The position to be checked.

Returns:

True if the position is occupied, else False

Return type:

bool