Robot dogs could be taught to mimic behaviours of real canines to make them more lovable