Towards a cognitive architecture for mobile robots in intelligent buildings