Skip to content

Commit 092858d

Browse files
committed
Minor fix in talos centroidal example but overall still not working
1 parent 2059fab commit 092858d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/talos_centroidal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
pos_com_next = mpc.xs[1][:3]
189189

190190
forces = mpc.us[0][: nk * force_size]
191-
forces_next = mpc.us[0][: nk * force_size]
191+
forces_next = mpc.us[1][: nk * force_size]
192192

193193
for sub_step in range(N_simu):
194194
t = step * dt_mpc + sub_step * dt_simu

0 commit comments

Comments
 (0)