The robot, Wally, scanned the rubbish with its eyes and used its robot hands to clean up the mess.