pyrobosim.navigation.occupancy_grid.OccupancyGrid.is_occupied

OccupancyGrid.is_occupied(pos: tuple[int, int]) bool

Check if a given position in the grid is occupied

Parameters:

pos – The position to be checked.

Returns:

True if the position is occupied, else False