diff --git a/selfdrive/modeld/constants.py b/selfdrive/modeld/constants.py index e0df68b22f..5ca0a86bc8 100644 --- a/selfdrive/modeld/constants.py +++ b/selfdrive/modeld/constants.py @@ -1,5 +1,4 @@ import numpy as np -from dataclasses import dataclass def index_function(idx, max_val=192, max_idx=32): return (max_val) * ((idx/max_idx)**2)