Simultaneous map building and localization for an autonomous mobile robot