Shane Smiskol
c1b9a202aa
controls: enter overriding state for steering override ( #25617 )
...
* lateral overriding is overriding
* Update test
* remove
* also could do something like this and only have one OVERRIDE ET
* Revert "also could do something like this and only have one OVERRIDE ET"
This reverts commit 5c381641c0
.
* full names
* bump cereal
* test every event type
* update refs
old-commit-hash: 992707c172
3 years ago
Shane Smiskol
2bd8ee0974
controls: block resume if cruise not previously engaged ( #25402 )
...
* see if this works at all
* can revert this
* think adding a no entry conditionally is nicer
* then we can revert this
* 0 makes more sense
* Revert "0 makes more sense"
This reverts commit efc89e8a23
.
* gm CC uses > 70
* bump cereal
* comment
* test on Honda
* whoops
* works
* add exception with todo
* moved button enable events to controlsd
* get rid of that
get rid of that
* different values for now
* car interfaces add enable event, controlsd can block it
* Regen and update refs
* delete if not set
* One place
one place
* regen routes are uninitialized first few frames
* Trim start of segment so it's like original segment
* stash
* regen
* not working
* clean up
* more cleanup
* revert
* bump ceral
* actually check resume button
* whoops
* pcmCruise cars don't use setSpeed, so we're good
* engage correctly in sim
* Update ref_commit
* Update refs
old-commit-hash: 5ed587ebef
3 years ago
Vivek Aithal
283970114e
Sensor Invalid Alert ( #25303 )
...
* modify text, add soft disable
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f1fecc3da7
3 years ago
Adeeb Shihadeh
2ca2152573
less beeps for steering override faults ( #25196 )
...
* less beeps for steering override faults
* less repeat
old-commit-hash: 278d6893fe
3 years ago
Willem Melching
297a0bd65b
controlsd: avoid lag on first iteration due to get_short_branch ( #25031 )
...
* controlsd: avoid lag on first iteration due to get_short_branch
* always cache
old-commit-hash: d4cc13c88a
3 years ago
Adeeb Shihadeh
3c48bc47b7
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
old-commit-hash: 0fce5d9045
3 years ago
Willem Melching
753045c73d
less TICI when not needed ( #24698 )
...
* less TICI when not needed
* fix process replay
* move reading voltages into hw abstraction layer
* Update selfdrive/hardware/tici/hardware.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/hw.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/base.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* rename init function
* Update selfdrive/athena/athenad.py
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
* Update selfdrive/boardd/boardd.cc
* Apply suggestions from code review
* Update selfdrive/thermald/thermald.py
* update ref
* fix alert width if all cameras are bad
* add ecam to test_loggerd
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
old-commit-hash: f49a9c9fd2
3 years ago
Adeeb Shihadeh
29e2b3f757
controlsd: ensure all system malfunction events have the right types ( #24635 )
...
old-commit-hash: 71901c94db
3 years ago
Adeeb Shihadeh
a6bcd14abd
show which cameras are malfunctioning ( #24558 )
...
old-commit-hash: 0b1f6e3620
3 years ago
Adeeb Shihadeh
cfc16a88c5
improved alert verbosity ( #24434 )
...
* improved alert verbosity
* better testing script
* better description
* speed diff
* touch ups
* fix that
old-commit-hash: b1858df00e
3 years ago
Shane Smiskol
19aebce4f2
Round system overheated temperature ( #24544 )
...
* Update events.py
* Apply suggestions from code review
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 961a121fde
3 years ago
ntegan1
b9a07b8f05
Round model lagging frame drop percentage ( #24549 )
...
alerts: round model frame drop percentage
old-commit-hash: 076f0acd5f
3 years ago
Dylan Herman
2dfba97175
add mypy check for return-any ( #24379 )
...
* add mypy check for return-any
* remove unused import
* typing
* remove unnecessary variable typing
* cleanup
* cleanup
* bump submodules
* small fixes
* only a problem on mac
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: d2eef1955c
3 years ago
Adeeb Shihadeh
fdf13d565b
controlsd: add lagging alert ( #24360 )
...
* controlsd: add lagging alert
* move those
* just this for now
* no camera malfunction
old-commit-hash: 3abbe827de
3 years ago
Adeeb Shihadeh
75174c93d7
more verbose debug alerts ( #24126 )
...
old-commit-hash: 70987fd9d9
3 years ago
Adeeb Shihadeh
e8ad31f32b
controlsd: handle controls mismatch race ( #24245 )
...
* controlsd: handle controls mismatch race
* update refs
old-commit-hash: 233a167cc9
3 years ago
Gijs Koning
598ba913ae
Fix camera error description ( #24202 )
...
* Fix camera error message
* Shorter
old-commit-hash: e0845752e3
3 years ago
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
3 years ago
Adeeb Shihadeh
e04e6fea87
bump cereal
...
old-commit-hash: 162e47456c
3 years ago
Willem Melching
83c103e46a
update camera CRC alert text ( #24156 )
...
old-commit-hash: fb344021aa
3 years ago
Willem Melching
a47666d1fd
add cameraFrameRate alert ( #24152 )
...
* add cameraFrameRate alert
* bump cereal
old-commit-hash: 1848050fd9
3 years ago
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
3 years ago
George Hotz
d359310631
alerts: Don't use Malfunction twice
...
old-commit-hash: 8031a68e55
3 years ago
Shane Smiskol
01d005c322
update refs
...
old-commit-hash: a4353303d4
3 years ago
Shane Smiskol
53fff66742
bump cereal
...
old-commit-hash: ca3171c0f9
3 years ago
Adeeb Shihadeh
bb9dd45677
Contact Support -> Hardware Malfunction ( #24076 )
...
* Contact Support -> Hardware Malfunction
* missed that one
old-commit-hash: f1719aab84
3 years ago
Adeeb Shihadeh
ec47e0fef0
break up selfdrive.config ( #23959 )
...
* break up selfdrive.config
* add to release files
* fix import order
old-commit-hash: 5c3f3e44bc
3 years ago
Willem Melching
849bbc8a2f
process replay: fix branch name alert ( #23783 )
...
* env is modified after start
* update ref
old-commit-hash: 14260c01c6
3 years ago
Adeeb Shihadeh
ddde46c503
keep the new alert consistent for process replay
...
old-commit-hash: f59adbeaaa
3 years ago
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
3 years ago
Willem Melching
5a78f1d29c
hide localizerMalfunction alert ( #23730 )
...
* hide localizerMalfunction alert
* update ref
old-commit-hash: 8effa2d878
3 years ago
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
3 years ago
Adeeb Shihadeh
70f1418256
remove community features toggle ( #23214 )
...
* remove community features toggle
* bump cereal
* little more
* update refs
old-commit-hash: 3e9cb7fa12
3 years ago
Dean Lee
54bdb321bd
cleanup iterate keys in dictionaries ( #23497 )
...
old-commit-hash: a186bcc9f1
3 years ago
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
3 years ago
Dean Lee
75d00872e8
events: cleanup function any ( #23479 )
...
old-commit-hash: 8eec818ae6
3 years ago
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
3 years ago
Adeeb Shihadeh
8f09da4407
bump cereal
...
old-commit-hash: 256c51e16a
3 years ago
Adeeb Shihadeh
55d6972d08
Revert "Mazda: alert when LKAS is disabled ( #23273 )"
...
This reverts commit e67713edb1f62957974f20a0f7eceb2fc9efb1f4.
old-commit-hash: c92199ab1a
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
Adeeb Shihadeh
1ffe047666
improve crc camera error ( #22943 )
...
old-commit-hash: 5296ca8d73
3 years ago
Adeeb Shihadeh
d1eacc4619
alerts: make soft disables an orange alert ( #22925 )
...
old-commit-hash: 833399e941
3 years ago
Adeeb Shihadeh
9f84f9ad97
put cruiseMismatch event in logging only mode
...
old-commit-hash: 3302239013
3 years ago
Adeeb Shihadeh
ee15159a3b
alert cleanup ( #22919 )
...
old-commit-hash: 5265c36de7
3 years ago
Adeeb Shihadeh
731d85c522
alerts: use repeating warning2 sound for steerSaturated ( #22874 )
...
old-commit-hash: 308219c5b1
4 years ago