Sentry gun

A sentry gun is a weapon that is automatically aimed and fired at targets that are detected by sensors. The earliest functioning military sentry guns were the close-in weapon systems point-defense weapons, such as the Phalanx CIWS, used for detecting and destroying short range incoming missiles and enemy aircraft, first used exclusively on naval assets, and now also as land-based defenses.
Military use.
Samsung SGR-A1.
The Samsung SGR-A1 is a South Korean military robot sentry designed to replace human counterparts in the demilitarized zone at the South and North Korean border. It is a stationary system made by Samsung defense subsidiary Samsung Techwin.
Sentry Tech.
In 2007, the Israeli military deployed the Sentry Tech system, dubbed as the Roeh-Yoreh (Sees-Fires) by the IDF along the Gaza border fence with pillboxes placed at intervals of some hundreds of meters. The 4-million USD (3.35 million Euro) system was completed in late spring of 2008. The weapon system mounts a .50BMG automated M2 Browning machine gun and a SPIKE guided missile in each pillbox covered by an opaque protective shield. The weapon is operated by one soldier and fed information from cameras, long range electro-optical sensors, ground sensors, manned aircraft, and overhead drones, as well as radar. Connected via fiber optics to a remote operator station and a command-and-control center, each machine gun-mounted station serves as a type of robotic sniper, capable of enforcing a nearly 1,500-meter-deep no-go zone. The gun is based on the Samson Remote Controlled Weapon Station. The weapon is capable of acquiring targets and maintaining a firing solution independently, but still requires human input to fire or release ordnance.
Dozens of people have been shot with the Sentry Tech system. The first reported killing of an individual appears to have taken place during Operation Cast Lead in December 2008. According to Israeli sources, the process to authorize a kill is "complex" but can still be carried out in under two minutes. The same sources report that the weapons are mainly used for "warning shots" if they are fired at all, since the mere opening of the protective dome is often enough to intimidate any potential contacts into retreat.
Super aEgis II.
In December 2010, the South Korean firm DoDAAM unveiled the Super aEgis II, an automated turret-based weapon platform that uses thermal imaging to lock onto vehicles or humans up to 3 km away. It is able to function during nighttime and is unaffected by weather conditions. The system gives a verbal warning before firing, and though it is capable of firing automatically, the company reports that all of its customers have configured it to require human confirmation. It is used at various facilities in United Arab Emirates, Abu Dhabi, and Qatar, among other places, and has been tested in the Korean Demilitarized Zone.
See also.
Specific systems: