Hmm, your driving it with a propeller. Why not a small free rotating prop on conning tower and measure rotations.

There's example code on here somewhere for wind speed anenometer, which is basically same.

Rob