Teach a robot how to farm