Cell-sized robots can sense their environment