mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-06 00:36:32 +08:00
no param reads in pipeline
This commit is contained in:
@@ -62,7 +62,10 @@ class Calibrator():
|
||||
self.v_ego = 0
|
||||
|
||||
# Read calibration
|
||||
calibration_params = Params().get("CalibrationParams")
|
||||
if param_put:
|
||||
calibration_params = None
|
||||
else:
|
||||
calibration_params = Params().get("CalibrationParams")
|
||||
if calibration_params:
|
||||
try:
|
||||
calibration_params = json.loads(calibration_params)
|
||||
|
||||
Reference in New Issue
Block a user