Do not use default value in torqued

pull/35055/head
Kacper Rączy 1 month ago
parent 4ffd617b20
commit 88991318c0
  1. 2
      selfdrive/locationd/torqued.py

@ -52,7 +52,7 @@ class TorqueBuckets(PointBuckets):
class TorqueEstimator(ParameterEstimator):
def __init__(self, CP, decimated=False, track_all_points=False):
self.hist_len = int(HISTORY / DT_MDL)
self.lag = CP.steerActuatorDelay + .2 # from controlsd
self.lag = 0.0
self.track_all_points = track_all_points # for offline analysis, without max lateral accel or max steer torque filters
if decimated:
self.min_bucket_points = MIN_BUCKET_POINTS / 10

Loading…
Cancel
Save