@squawk
    Preparing search index...
    • Computes the crosstrack correction angle using the 1-in-60 rule. Given an off-course distance and the distance flown, returns the angle in degrees needed to correct back to the desired track.

      The 1-in-60 rule approximation: 1 degree of track error produces roughly 1 NM of displacement per 60 NM of distance flown. This is accurate for small angles (under ~10 degrees).

      Parameters

      • offCourseDistanceNm: number

        Distance off the desired track in nautical miles.

      • distanceFlownNm: number

        Distance already flown from the origin in nautical miles.

      Returns number

      Correction angle in degrees.