From b97a834d2393706f8458cd08c9a437217a5a1a9b Mon Sep 17 00:00:00 2001
From: Sylvain CALINON <sylvain.calinon@idiap.ch>
Date: Tue, 6 Aug 2024 15:02:27 +0200
Subject: [PATCH] spline refined

---
 matlab/spline1D.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/spline1D.m b/matlab/spline1D.m
index 4c2322b..20425d9 100644
--- a/matlab/spline1D.m
+++ b/matlab/spline1D.m
@@ -81,7 +81,7 @@ delta_t = t(2) - t(1);
 wb = Psi \ x0;
 
 %%Batch estimation of superposition weights from reference position profile with additional cost on derivatives
-%wb = (Psi'*Psi + dPsi'*dPsi*1E-6) \ Psi' * x0;
+%wb = (Psi'*Psi + dPsi'*dPsi*1E-3) \ Psi' * x0;
 
 param.Mw = param.BC * wb; %Transformation matrix
 
-- 
GitLab