A reference architecture for social robots