A spiking network for object and ego-motion detection in roving robots