Skilled aviators transformed a Royal Navy helicopter into a “flying command centre” during a historic trial.