A dog is running in and out of a line of posts on an obstacle course.