forked from mawei/dp
1
0
Fork 0

fingerprint cloudlog event (#20950)

* fingerprint cloudlog event

* kale cloudlog

* not fuzzy
This commit is contained in:
Adeeb Shihadeh 2021-05-18 10:52:53 -07:00
parent 6418d4a09a
commit 99b1d6a40b
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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)