An indoor navigation approach considering obstacles and space subdivision of 2D plan