Nice! I had imagined that Friend & Foe could easily be done on such mountable weapons, but it's not like it's a static base with a huge sign saying "Stay back or get shot", there could be civilians or non-combatants walking the road, etc, that probably shouldn't be shot just because they don't have a "friendly" RF code answering back. Hence, a fleshy-brain in a chair to make the call.
Speaking of Friend/Foe, I'd be pissing my pants relying on friendly-recognition technology to be recognized by a machine before it puts 20rds into a 5" ring on my chest.