[Brittliv] made the mistake of getting her pals into Nerf weaponry, and so began the race to mutually secured destruction through foam darts. She may have the upper hand in this war, because her Nerf Vulcan sentry gun is both extremely powerful and is able to be operated autonomously with a webcam featuring a pal or foe identification system.
The azimuth and elevation mount for the gun is constructed out of plywood, with each axis managed by a single servo connected to an Arduino. Of course a stock Nerf gun would be fairly boring, so [BrittLiv] enhanced both the voltage going to the gun’s motor and the strength of the gun by replacing a 2kg spring with a 5kg spring.
Targets are tracked with a webcam using Processing and a bit of code from project Sentry Gun. One interesting feature is a pal or foe tracking system; if the gun sees someone wearing a t-shirt with the Instructables logo, the target is identified as a pal and is not brutally mowed down with plastic darts.