Main Content

curvature

Return curvature at arclength

    Description

    kappa = curvature(refPath,S) calculates the curvature angle, kappa of the reference path at a given arclength, S.

    Input Arguments

    collapse all

    Reference path, specified as a referencePathFrenet object.

    Path arclengths, specified as an N-element column vector in meters, where N is the total number of desired arclengths to calculate.

    Output Arguments

    collapse all

    Change-in-curvature angles, specified as an N-element vector in radians, where N is the total number of desired arclengths to calculate.

    Extended Capabilities

    C/C++ Code Generation
    Generate C and C++ code using MATLAB® Coder™.

    Version History

    Introduced in R2022a