A robot dog is helping scientists measure the health of a Cornish farmer's fields in a bid to boost productivity.