Real time cursor tracking for 5G weapon systems and home defense auto turrets