Puzzle from the New Scientist

Attempt to solve #115 “A random robot” puzzle from the New Scientist. This week (No 3336 - 29 May 2021) the New Scientist published the following puzzle: Roman the test robot is being given one final roam before being consigned to the scrapheap where he can rust in peace.