ACADOS fix non-convergence when long_plan changes (#22495)
* debug commit * cleanup * some indexing bugs * need more its * BALANCE is way better it seems * fix test * this converges in 2000segs * new ref * less cpupull/22511/head
parent
afaf235acd
commit
04cf12cb00
11 changed files with 21 additions and 15 deletions
@ -1,7 +1,7 @@ |
|||||||
IDX_N = 33 |
IDX_N = 33 |
||||||
|
|
||||||
def index_function(idx, max_val=192): |
def index_function(idx, max_val=192, max_idx=32): |
||||||
return (max_val/1024)*(idx**2) |
return (max_val) * ((idx/max_idx)**2) |
||||||
|
|
||||||
|
|
||||||
T_IDXS = [index_function(idx, max_val=10.0) for idx in range(IDX_N)] |
T_IDXS = [index_function(idx, max_val=10.0) for idx in range(IDX_N)] |
||||||
|
@ -1 +1 @@ |
|||||||
22f78d143d7e17e9ac7d0be8e29d5d7b5477ecd3 |
1704bf0294610dfe380fbdf601b03f1387ddec9d |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue