default to pid

pull/33208/head
Shane Smiskol 1 year ago
parent 297f5abed8
commit 8cdb765fa7
  1. 2
      selfdrive/car/structs.py

@ -328,7 +328,7 @@ class CarParams:
def __call__(self):
return self.value
which: 'CarParams.LateralTuning.Which' = field(default_factory=lambda: CarParams.LateralTuning.Which.torque)
which: 'CarParams.LateralTuning.Which' = field(default_factory=lambda: CarParams.LateralTuning.Which.pid)
pid: 'CarParams.LateralPIDTuning' = field(default_factory=lambda: CarParams.LateralPIDTuning())
torque: 'CarParams.LateralTorqueTuning' = field(default_factory=lambda: CarParams.LateralTorqueTuning())

Loading…
Cancel
Save