more updates

-added ir threshold for open space detection