From 99b1d6a40b69f7a4ad1c9da577ade245ed0faba3 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Tue, 18 May 2021 10:52:53 -0700 Subject: [PATCH] fingerprint cloudlog event (#20950) * fingerprint cloudlog event * kale cloudlog * not fuzzy --- selfdrive/car/car_helpers.py | 2 +- selfdrive/controls/plannerd.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/selfdrive/car/car_helpers.py b/selfdrive/car/car_helpers.py index 9f3ebfa0..9b6d13e5 100644 --- a/selfdrive/car/car_helpers.py +++ b/selfdrive/car/car_helpers.py @@ -167,7 +167,7 @@ def fingerprint(logcan, sendcan): car_fingerprint = fixed_fingerprint source = car.CarParams.FingerprintSource.fixed - cloudlog.warning("fingerprinted %s", car_fingerprint) + cloudlog.event("fingerprinted", car_fingerprint=car_fingerprint, source=source, fuzzy=not exact_match) return car_fingerprint, finger, vin, car_fw, source, exact_match diff --git a/selfdrive/controls/plannerd.py b/selfdrive/controls/plannerd.py index a2c650fa..235bafc4 100755 --- a/selfdrive/controls/plannerd.py +++ b/selfdrive/controls/plannerd.py @@ -20,6 +20,8 @@ def plannerd_thread(sm=None, pm=None): use_lanelines = not params.get_bool('EndToEndToggle') wide_camera = params.get_bool('EnableWideCamera') if TICI else False + cloudlog.event("e2e mode", on=use_lanelines) + longitudinal_planner = Planner(CP) lateral_planner = LateralPlanner(CP, use_lanelines=use_lanelines, wide_camera=wide_camera)