Added to dog, added to attackactivity for obstacle detection