From 29b53952f90ab0e289e696890d900acc5746be50 Mon Sep 17 00:00:00 2001
From: Sylvain CALINON <sylvain.calinon@idiap.ch>
Date: Mon, 14 Apr 2025 14:07:52 +0200
Subject: [PATCH] typo fixed

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

diff --git a/matlab/iLQR_manipulator_recursive_LS.m b/matlab/iLQR_manipulator_recursive_LS.m
index 53e81b6..34cd670 100644
--- a/matlab/iLQR_manipulator_recursive_LS.m
+++ b/matlab/iLQR_manipulator_recursive_LS.m
@@ -34,7 +34,7 @@ R = speye((param.nbData-1)*param.nbVarU) * param.r; %Control weight matrix (at t
 %Time occurrence of viapoints
 tl = linspace(1, param.nbData, param.nbPoints+1);
 tl = round(tl(2:end));
-idx = (tl - 1) * param.nbVarX + [1:param.nchansons quebecoise 2024bVarX]';
+idx = (tl - 1) * param.nbVarX + [1:param.nbVarX]';
 
 
 %% Iterative LQR (iLQR)
-- 
GitLab