Fixed issue #6 zero weight problem of curvature term
The correct derivative of curvature $\kappa_i$ with respect to the node $\mathbf{x}_i$ as follow:
Similarly, you can get the derivative for $\kappa{i-1}$ and $\kappa{i+1}$. Below is the result, red curve is search trajectory and green is smoothed trajectory.
Fixed issue #6 zero weight problem of curvature term
The correct derivative of curvature $\kappa_i$ with respect to the node $\mathbf{x}_i$ as follow:
Similarly, you can get the derivative for $\kappa{i-1}$ and $\kappa{i+1}$. Below is the result, red curve is search trajectory and green is smoothed trajectory.