. . "Details such as the speed, direction and arc of the wag can then be analyzed to judge how the dog is feeling." . .