pyrobosim.navigation.occupancy_grid.OccupancyGrid.is_in_bounds

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

Check if a given (x,y) position is within grid limits

Parameters:

pos – The position to be validated.

Returns:

True if the given coordinates are within bounds, else False.