Weighted spline for calculating trajectory with lowest possible lateral acceleration
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
I have the following five vectors of equal length for a road user travelling on a specific path:
t: time point (s)
(x,y): position (m)
v: speed (m/s)
e: estimation, boolean. If 0, the values in the data point (t,x,y,v) are more accurate
I want to create a trajectory for the positions and with an overall small lateral acceleration (a = v^2 / r).
The estimated points should have a lower weight than the other points.
Is there a function available in Matlab for this task?
Thans in advance,
/Sava
댓글 수: 3
Bjorn Gustavsson
2019년 2월 25일
Well if you have completely missing data-points, then I think you should simply remove them from both x and y, since they should have no influence on the fitting curve at all. The weights W should be the standard deviation (or standard deviation squared, or the inverse of that, I don't have the csapsGVC function).
HTH
답변 (2개)
Greg Dionne
2019년 2월 25일
I'm not certain if I understood your question correctly, but you could try adapting the approach in the drivingScenario trajectory method if you have the Automated Driving Toolbox.
That uses a clothoid curve interpolant, which I think may be what you are after.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!