ebertolazzi / Clothoids

Other
109 stars 50 forks source link

Least squares fitting of a clothoid to a set of data points #36

Closed xingii closed 1 year ago

xingii commented 2 years ago

Hi, thank you for your work. Given a set of data points, I wonder if there is an example about finding a clothoid of best fit (Least Square Method)? If not, is there any solution to this problem using Clothoids?

MarcoFrego commented 2 years ago

Dear Xingii, we do not offer a least square fitting but only exact interpolation. And I don't know anybody doing this. A practical solution for you could be to smooth the data with polynomials, and then interpolate the clean data with our G2 spline that minimises some functional (energy, curvature, jerk, length..).

Best Regards Marco Frego Free University of Bolzano Italy

Il giorno lun 14 feb 2022 alle ore 03:40 xingii @.***> ha scritto:

Hi, thank you for your work. Given a set of data points, I wonder if there is an example about finding a clothoid of best fit (Least Square Method)? If not, is there any solution to this problem using Clothoids?

— Reply to this email directly, view it on GitHub https://github.com/ebertolazzi/Clothoids/issues/36, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZVOA3C62NMRS7IDPLCO6TU3BTTJANCNFSM5OKETGJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>