A sailor’s publicly shared workout made it possible to pinpoint the ship’s movements in the Mediterranean sea.