mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 18:12:05 +08:00
56b457207f
old-commit-hash: 148c202bc4a9d2b5be3c7dfc529da89c62dd7230
8 lines
154 B
Python
8 lines
154 B
Python
IDX_N = 33
|
|
|
|
def index_function(idx, max_val=192):
|
|
return (max_val/1024)*(idx**2)
|
|
|
|
|
|
T_IDXS = [index_function(idx, max_val=10.0) for idx in range(IDX_N)]
|