Self aware robot