mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 23:33:58 +08:00
* debug commit
* cleanup
* some indexing bugs
* need more its
* BALANCE is way better it seems
* fix test
* this converges in 2000segs
* new ref
* less cpu
old-commit-hash: 04cf12cb00
8 lines
173 B
Python
8 lines
173 B
Python
IDX_N = 33
|
|
|
|
def index_function(idx, max_val=192, max_idx=32):
|
|
return (max_val) * ((idx/max_idx)**2)
|
|
|
|
|
|
T_IDXS = [index_function(idx, max_val=10.0) for idx in range(IDX_N)]
|