A dog and person doing an agility course .