Justin Newberry
ff96892511
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit ffad7279cbad3c4f2ea786287b4624d3a3aa18d7.
old-commit-hash: a91764954b
2 years ago
Justin Newberry
99006365a3
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
old-commit-hash: cb31a53d8a
2 years ago
Adeeb Shihadeh
8bcaf1f942
increase min duration of steer saturated alert ( #29191 )
...
* increase min duration of steer saturated alert
* update refs
old-commit-hash: 3476205569
2 years ago
Eric Brown
3ebff5c415
Events: debug script ( #28898 )
...
* Move to separate branch
* Fix mypy
* Better printout
* Fix spacing
* cleanup
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 22c413af6d
2 years ago
Adeeb Shihadeh
27b53b914b
reduce startup alert duration ( #28749 )
...
* reduce startup alert duration
* update refs
old-commit-hash: 336b5f7324
2 years ago
Shane Smiskol
8bb530cec5
Deprecate brakeUnavailable event ( #28351 )
...
* bump cereal
* deprecate
* Update selfdrive/controls/lib/events.py
old-commit-hash: fc2bd16e72
2 years ago
Harald Schäfer
5ddceb553d
Calibrationd: make recalibrating alert ( #28149 )
...
* Initial
* fixes
* not an int anymore
* elif
* revert ref
* update ref
* fix alert text
* regen refs
* update ref
* add recalibration unit test
* set into recalibration state
* fix words
* recalib
* text
* 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: 598343aad1
2 years ago
Shane Smiskol
298e7466f5
Ford: hybrids are unsupported ( #28171 )
...
* hybrid fords are dashcammed
* something like this?
* just do an alert
* good comment
* space
* bb
bb
* top
* Update selfdrive/car/ford/interface.py
* add a noEntry
* remove from release notes
* sad :(
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 344064d6bd
2 years ago
Shane Smiskol
da12bfb021
Ford: add alert for steering wheel angle not ready ( #28140 )
...
* add event for steering angle calibrating
* how about this
how about this
* rename
* more openpilot-y
* add comment to code
* move to top
* better wording
* more general
* fix
* ?
* above
* bump cereal to master
* add more comms
old-commit-hash: fb29d0f3bf
2 years ago
Harald Schäfer
73e00a05ac
Calibration remount detector: soft disable ( #27993 )
...
* Calibration remount detector: soft disable
* Update test_calibrationd.py
old-commit-hash: a979a54cf9
2 years ago
Jason Young
6433154d5d
remove accFaultedTemp, add steerTimeLimit ( #27720 )
...
* remove accFaultedTemp
* retry CI
* bump cereal
* grab the new steerTimeLimit Event
* bump cereal to updated master
old-commit-hash: 267974e002
2 years ago
Adeeb Shihadeh
70cfe29351
better main off alert ( #27442 )
...
old-commit-hash: 7a3b3e8b56
2 years ago
Adeeb Shihadeh
0a1ee30b15
add 'remount device' to permanent calibration invalid alert ( #27407 )
...
old-commit-hash: ea419c5764
2 years ago
Adeeb Shihadeh
37a1a0bc2c
better min enable speed alert ( #27317 )
...
old-commit-hash: 5af5f02ba8
2 years ago
Shane Smiskol
47197d7009
events: reword ESP off alert ( #27304 )
...
* Rename event
* rename to Control
* rename to disabled
old-commit-hash: 4f2134468f
2 years ago
Shane Smiskol
bbed3a961a
Events: actionable accFaulted alert text ( #26783 )
...
same alert text as steer and brake unavailable
old-commit-hash: 9e9600a4f4
2 years ago
Shane Smiskol
e13e373bfb
alert: smaller standstill alert ( #26751 )
...
smaller standstill alert
old-commit-hash: 2545dd195e
2 years ago
Shane Smiskol
634a6c9802
Deprecate noTarget event ( #26638 )
...
deprecate notarget
old-commit-hash: 5409895ab2
2 years ago
Shane Smiskol
d1dee4625a
controlsd: preEnable on brake at a standstill ( #26273 )
...
* pre-enable on brake at standstill
* test by getting rid of noTarget
* Update events.py
* rename
* stash what we got so far
* cmt
* not sure if best way to fix, but enabled with current states defs is fine
* no noEntry in preEnabled
* bumpcereal
* uncomment
* Update ref_commit
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dbe512d167
2 years ago
Shane Smiskol
bcdbd8edb9
Toyota: alert when in standstill ( #26585 )
...
* add resume required alert
* possibly need this (pressing resume with brake held does nothing)
* better text (has both meanings)
* try this
* Revert "try this"
This reverts commit 5b2991929b
.
* no alert with interceptor
* check long
old-commit-hash: 3253b85900
2 years ago
Adeeb Shihadeh
7c96e7876a
cleanup panda types everywhere ( #26574 )
...
* cleanup panda types everywhere
* one more
old-commit-hash: 65fa87a969
2 years ago
Shane Smiskol
054cb1f8c1
Hyundai: fix button enable controls mismatch ( #26471 )
...
* bump panda
* buttonCancel needs to be a noEntry
* bompo
* Update ref_commit
old-commit-hash: 89b88fc7a2
2 years ago
Shane Smiskol
70249fae14
Rename gmAccFaultedTemp -> accFaultedTemp
...
old-commit-hash: b1efdab788
3 years ago
Shane Smiskol
961c613005
GM camera ACC: prevent fault when engaging at a stop ( #26079 )
...
* prevent bolt fault
* comment
* only for camera ACC
* fixup alert
* bump cereal to master
* use new name
* Update selfdrive/car/gm/interface.py
* Update selfdrive/car/gm/interface.py
* Update selfdrive/car/gm/interface.py
* only care about prevent engagement when we look at PCM
old-commit-hash: 4e82f68de2
3 years ago
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