Skip to content

Commit

Permalink
fingerprint cloudlog event (commaai#20950)
Browse files Browse the repository at this point in the history
* fingerprint cloudlog event

* kale cloudlog

* not fuzzy
  • Loading branch information
adeebshihadeh authored and Connor Larkin committed Dec 22, 2021
1 parent a1e81be commit 7feeef8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/car_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 2 additions & 0 deletions selfdrive/controls/plannerd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7feeef8

Please sign in to comment.