Commit Graph

145 Commits

Author SHA1 Message Date
Adeeb Shihadeh
e8ad31f32b controlsd: handle controls mismatch race (#24245)
* controlsd: handle controls mismatch race

* update refs
old-commit-hash: 233a167cc9
2022-04-18 17:08:25 -07:00
Gijs Koning
598ba913ae Fix camera error description (#24202)
* Fix camera error message

* Shorter
old-commit-hash: e0845752e3
2022-04-13 09:56:37 -07:00
Adeeb Shihadeh
3789587df1 add alert for CAN bus timeout (#24162)
* add alert for CAN bus timeout

* add alert

* set in interface

* cleanup

* cleanup

* add event

* fix mock

* bump

* bump opendbc

* update refs

* return reader
old-commit-hash: 49c2164814
2022-04-12 22:58:34 -07:00
Adeeb Shihadeh
e04e6fea87 bump cereal
old-commit-hash: 162e47456c
2022-04-06 22:25:59 -07:00
Willem Melching
83c103e46a update camera CRC alert text (#24156)
old-commit-hash: fb344021aa
2022-04-06 17:46:56 -07:00
Willem Melching
a47666d1fd add cameraFrameRate alert (#24152)
* add cameraFrameRate alert

* bump cereal
old-commit-hash: 1848050fd9
2022-04-06 17:11:39 -07:00
Willem Melching
871ecc451b commIssueAvgFreq: separate alert for avg freq check (#24150)
* commIssueAvgFreq: separate alert for avg freq check

* bump cereal

* bump cereal

* bump cereal

* freq_ok separate from alive

* bump cereal to master

* update_ref

* fix profiler
old-commit-hash: eaa5819211
2022-04-06 16:43:32 -07:00
George Hotz
d359310631 alerts: Don't use Malfunction twice
old-commit-hash: 8031a68e55
2022-04-04 12:45:57 -07:00
Shane Smiskol
01d005c322 update refs
old-commit-hash: a4353303d4
2022-04-01 22:39:08 -07:00
Shane Smiskol
53fff66742 bump cereal
old-commit-hash: ca3171c0f9
2022-04-01 20:59:15 -07:00
Adeeb Shihadeh
bb9dd45677 Contact Support -> Hardware Malfunction (#24076)
* Contact Support -> Hardware Malfunction

* missed that one
old-commit-hash: f1719aab84
2022-03-30 16:13:28 -07:00
Adeeb Shihadeh
ec47e0fef0 break up selfdrive.config (#23959)
* break up selfdrive.config

* add to release files

* fix import order
old-commit-hash: 5c3f3e44bc
2022-03-13 21:42:39 -07:00
Willem Melching
849bbc8a2f process replay: fix branch name alert (#23783)
* env is modified after start

* update ref
old-commit-hash: 14260c01c6
2022-02-17 16:47:42 +01:00
Adeeb Shihadeh
ddde46c503 keep the new alert consistent for process replay
old-commit-hash: f59adbeaaa
2022-02-16 23:47:02 -08:00
Adeeb Shihadeh
693b66c1e0 add branch name to startup master alert (#23782)
* add branch name to startup master alert

* still orange

* update refs
old-commit-hash: ff965c772b
2022-02-16 20:27:07 -08:00
Willem Melching
5a78f1d29c hide localizerMalfunction alert (#23730)
* hide localizerMalfunction alert

* update ref
old-commit-hash: 8effa2d878
2022-02-08 22:22:03 -08:00
Jafar Al-Gharaibeh
055b8b06e6 Mazda: alert when LKAS is disabled (#23288)
* Mazda: alert when LKAS is disabled

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* update refs

* revert that

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1c31c9b7a3
2022-01-30 21:04:07 -08:00
Adeeb Shihadeh
70f1418256 remove community features toggle (#23214)
* remove community features toggle

* bump cereal

* little more

* update refs
old-commit-hash: 3e9cb7fa12
2022-01-24 14:49:47 -08:00
Dean Lee
54bdb321bd cleanup iterate keys in dictionaries (#23497)
old-commit-hash: a186bcc9f1
2022-01-12 12:42:50 +01:00
Dean Lee
98de810849 check in tuple instead of list (#23477)
* check in tuple instead of list

* Update selfdrive/car/toyota/carcontroller.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Update selfdrive/car/mazda/interface.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a653461dec
2022-01-10 16:36:51 +01:00
Dean Lee
75d00872e8 events: cleanup function any (#23479)
old-commit-hash: 8eec818ae6
2022-01-10 14:32:07 +01:00
George Hotz
86a39e838b Add More Types for mypy (#23268)
* mypy passes

* a few more

* a few in manager

* more types, will lint

* more

* simple types

* events type

* Update selfdrive/thermald/thermald.py

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dc96d4bee7
2021-12-28 18:07:00 +01:00
Adeeb Shihadeh
8f09da4407 bump cereal
old-commit-hash: 256c51e16a
2021-12-20 23:04:27 -08:00
Adeeb Shihadeh
55d6972d08 Revert "Mazda: alert when LKAS is disabled (#23273)"
This reverts commit e67713edb1f62957974f20a0f7eceb2fc9efb1f4.

old-commit-hash: c92199ab1a
2021-12-20 23:02:02 -08:00
Jafar Al-Gharaibeh
9b7dd754c4 Mazda: alert when LKAS is disabled (#23273)
* Mazda: alert when LKAS is disabled

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Update selfdrive/controls/lib/events.py

* Update selfdrive/car/mazda/interface.py

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f25121b736
2021-12-20 14:58:46 -08:00
Adeeb Shihadeh
06a9b3448d alerts: escalate soft disable alert near disengagement (#23198)
* alerts: escalate soft disable alert if resulted in disengagement

* show 0.5s before disengagement
old-commit-hash: 8068df0b2a
2021-12-11 17:07:37 -08:00
Adeeb Shihadeh
700ad9ec50 alerts: handle min duration properly (#23191)
* alerts: handle min duration properly

* add active

* tests

* cleanup test

* update refs
old-commit-hash: 07b971d473
2021-12-10 19:20:07 -08:00
Adeeb Shihadeh
853dc0d016 alert text simplification (#23186)
* alert text simplification

* little more

* user triggered

* little more

* less annoying ldw

* Update selfdrive/controls/lib/events.py

* update refs

* revert
old-commit-hash: 4627d201b6
2021-12-10 15:21:37 -08:00
Adeeb Shihadeh
6c2182c026 Newer sounds (#23091)
* new prompt sound

* padding

* prompt distracted

* debug

* fix spelling

* lower min volume

* better volume at low speeds

* revert debug

* revert that

* fix tests

* update refs

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3b367e6872
2021-12-02 00:28:25 -08:00
Adeeb Shihadeh
dccb8b4010 New sounds (#22652)
* new engage/disengage + amp config

* first family

* cleanup audible alerts

* tici isn't special

* fix up debug cycle alerts

* these were better

* extend range

* use distracted sound

* log scaling

* getting closer

* slightly louder

* prompt

* update tests

* update refs

* fix c2 test

* resolve todo

* adjust tolerance

* revert for now

* should work

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e679d05d9e
2021-11-30 19:47:33 -08:00
Adeeb Shihadeh
1ffe047666 improve crc camera error (#22943)
old-commit-hash: 5296ca8d73
2021-11-16 22:57:22 -08:00
Adeeb Shihadeh
d1eacc4619 alerts: make soft disables an orange alert (#22925)
old-commit-hash: 833399e941
2021-11-16 13:11:32 -08:00
Adeeb Shihadeh
9f84f9ad97 put cruiseMismatch event in logging only mode
old-commit-hash: 3302239013
2021-11-15 21:16:54 -08:00
Adeeb Shihadeh
ee15159a3b alert cleanup (#22919)
old-commit-hash: 5265c36de7
2021-11-15 16:14:31 -08:00
Adeeb Shihadeh
731d85c522 alerts: use repeating warning2 sound for steerSaturated (#22874)
old-commit-hash: 308219c5b1
2021-11-11 11:55:34 -08:00
Adeeb Shihadeh
a142638899 increase engagement alerts duration
old-commit-hash: 327464fb84
2021-11-10 22:11:14 -08:00
Adeeb Shihadeh
d6c42f11f4 controlsd: alert on cruise mismatch for >1s (#22841)
* controlsd: alert on cruise mismatch for >1s

* bump cereal

* update refs

* bump allowed soundd cpu

* bump cereal
old-commit-hash: 035bc0c20f
2021-11-10 13:01:42 -08:00
Adeeb Shihadeh
448d5f9e93 alerts: use a single duration for sound, text, and HUD (#22856)
* alerts: use a single duration for sound, text, and HUD

* little cleanup

* update refs
old-commit-hash: c5d6b85c90
2021-11-10 11:54:12 -08:00
Adeeb Shihadeh
450471058b controlsd: optimize alert management (#22846)
* controlsd: optimize alert management

* little cleanup

* dataclass is nice

* fix tests

* update refs

* sort by start frame

* update refs

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 93ba52c76c
2021-11-10 10:54:18 -08:00
Adeeb Shihadeh
da7cd6bbaa soundd: don't loop controls unresponsive sound infinitely (#22839)
* soundd: don't loop controls unresponsive sound infinitely

* update tests

* actually fix
old-commit-hash: 445a5aaca4
2021-11-09 16:58:21 -08:00
Mayfield
18ff2f5cbd alerts: show min enable speed in "speed too low" alert (#22755)
* alerts: show min enable speed in "speed too low" alert

* commonize display speed construction
old-commit-hash: 8c501f0265
2021-11-02 14:10:07 +01:00
Adeeb Shihadeh
d2a6eeae42 lower profile below steer speed alert (#22740)
old-commit-hash: 3312bf6d15
2021-10-29 13:39:12 -07:00
Adeeb Shihadeh
01043f505a more specific no fw startup alert
old-commit-hash: 897492d27c
2021-10-21 16:24:01 -07:00
Willem Melching
11066c6236 Split pandaState into peripheralState and pandaState (#22385)
* publish peripheralState from boardd

* refactor consumers

* rename thread

* peripheralState has panda type too

* add to process replay

* fix device build

* properly remove hardware unsupported alert

* latest peripheralState

* remove pandaState from thermal_monitor

* put that back

* add back harness check

* fix cloudlog

* needs pandaState

* Update selfdrive/thermald/tests/test_power_monitoring.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* dont conflate

* Update selfdrive/thermald/tests/test_power_monitoring.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* pigeon is peripheral

* cleanup

* less global

* comment

* move rtc to peripheral_control_thread

* better diff?

* whitespace

* get msg

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f4e2537b12
2021-10-04 11:30:11 +02:00
Adeeb Shihadeh
18097d7c06 change reverse gear event from immediate to user disable (#22337)
old-commit-hash: 2fe91e6085
2021-09-24 10:27:51 -07:00
Willem Melching
b3601ce43b Remove fuzzy fingerprint startup alert (#22328)
* deprecate fuzzy fingerprint startup alert

* bump cereal
old-commit-hash: 88d248a5af
2021-09-23 17:15:33 -07:00
Adeeb Shihadeh
7fc6a76f04 reduce startup alert duration to 10s (#22163)
* reduce startup alert duration to 10s

* update refs

* update refs

* update refs
old-commit-hash: 1c750975fc
2021-09-07 13:40:31 -07:00
Adeeb Shihadeh
ac8b08fa0c alert for per-core cpu usage (#21983)
* thermald: per-core cpu usage

* add alert

* better alert text

* list

* fix process replay
old-commit-hash: fc8b571a84
2021-08-19 19:14:51 -07:00
HaraldSchafer
e13349366e Remove HUD alert from green DM alert (#21942)
old-commit-hash: c0cacc7d2f
2021-08-16 22:30:51 -07:00
HaraldSchafer
b615987244 Cleaner lane change alerts (#21857)
* less is more

* small

* remove HUD warnings

* update ref

* safe

* update refs

* update again

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aa689176fc
2021-08-05 14:23:27 -07:00