Using robots to study neuroscience