Exactly.
During WWII the already had radars enough to detect periscopes sticking out of sea surface from tens of miles.
They were also able to triangulate subs by their short transmits anywhere on the Atlantic with pinpoint precision.
People very much underestimate technical military capabilities.
The issues with militaries are of a different kind -- sifting through deluge of information, prioritising, making right inferences, etc., not the ability to spot and triangulate the enemy.