wall folowing robot

In some rooms you could set a bot in the middle and it could estimate the dimensions without moving at all. But this would be for not too large empty rectangular rooms.