Gravity doesn't work well enough in a small boat bouncing around at sea. I was a tad confused by the picture of the improvised sextant.
Measuring the angle between sun/star/planet and the horizon is much more consistent than using gravity. A sextant allows for ship movement while allowing an accurate elevation angle.