Adeeb Shihadeh
cd317b0780
Fix most remaining LGTM alerts ( #1893 )
...
* fixups from LGTM
* short globals
* fix spinner and textwindow
* total ordering
* no spinner/text window when import from manager
* not android
old-commit-hash: 5db81f60ca
5 years ago
Adeeb Shihadeh
c374f03187
Revert modeld vipc conflate behavior and alert on dropped frame percent ( #1877 )
...
* Revert "Fix modeld dropping frames if processing takes over 50 ms"
This reverts commit fb908877a50d72e20a047bd4138316b12c8a30cc.
* track frame drop
* fix unused
* alert on frame drop perc
* reduce thresholds
* posenet is invalid on non-consecutive frames
* Refactor filter time constant
* Use vipc_dropped_frames for posenet valid check
* Actually set frame drop percentage
* Add explicit cast just to be sure
* Prevent frames dropped to go up to quickly on startup
* bump cereal
* reduce soft disable threshold to 1%
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 58c3b5ba84
5 years ago
Adeeb Shihadeh
a1dbb38a0c
Alert when modeld is lagging by more than a frame ( #1823 )
...
* alert when modeld is lagging by more than 1 frame
* log frameAge in modelData
* set posenet valid
* compute frame_age once
old-commit-hash: 03e824a4b5
5 years ago
Greg Hogan
bcf7edf595
k-line 5 init fault type ( #1821 )
...
* k-line 5 baud fault type
* update name
* bump cereal
* fix name
* add missing event
old-commit-hash: c458f5a5d3
5 years ago
Adeeb Shihadeh
0d79150606
Sound test ( #1820 )
...
* WIP sound test
* it does something
* refactor
* phone only
* update release files
* test sound card init
* add to CI
* check writes
* increase time
* unused
* only build cereal
* small tolerance
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f1afb3e3ae
5 years ago
George Hotz
70dbce450c
Add an SSH param to disable updates ( #1807 )
...
* disable updates with optional param
* dont create the alert
* Revert "dont create the alert"
This reverts commit 7179a6c8b4
.
* keep alert, but allow engagement
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cb495bb8c9
5 years ago
Adeeb Shihadeh
8b2ae9319a
fix blindspot detection
...
old-commit-hash: 64aeb80dcc
5 years ago
robbederks
4b2775add9
Dos ( #1795 )
...
old-commit-hash: df86c476c7
5 years ago
Adeeb Shihadeh
17fc7e2bec
Add alert while in preEnabled state ( #1791 )
...
old-commit-hash: ce80684f7e
5 years ago
Willem Melching
5f97bf6056
fix wrong car mode alert
...
old-commit-hash: 5e254da8b3
5 years ago
Adeeb Shihadeh
55225dcd56
Block lane change start on blindspot detection ( #1712 )
...
* use BSM to block lane change start
* remove duplicate entry
* add approaching
old-commit-hash: c4a3d7afb0
5 years ago
ZwX1616
9bca4bfb20
recover EON/C2 AF ( #1665 )
...
old-commit-hash: 3aa99a01d7
5 years ago
Adeeb Shihadeh
ab66589a46
fix engage/disengage sounds
...
old-commit-hash: 51b7dc0e38
5 years ago
Willem Melching
6dc1c6e58e
cleanup no sensor data alert ( #1760 )
...
old-commit-hash: 264015c584
5 years ago
Adeeb Shihadeh
d66c6202bb
more generic alert text for wrongCarMode
...
old-commit-hash: cab96374c5
5 years ago
Willem Melching
df9cd4dadd
Remove kernel check from controlsd
...
old-commit-hash: 77b7d30683
5 years ago
Adeeb Shihadeh
e8ced8bee5
Cleanup startup event handling ( #1748 )
...
* cleanup startup event
* always show permanent
* lowest
* update refs
old-commit-hash: ccf6b80c7e
5 years ago
Willem Melching
c9e2c38f91
Only show gps event after 1 km ( #1747 )
...
old-commit-hash: 24de8174dc
5 years ago
Willem Melching
390b28cd11
Move kernel check to before creating the submaster, prevent SIGUSR2
...
old-commit-hash: 2b20479a5c
5 years ago
Adeeb Shihadeh
ac0bdce786
catch CalledProcessError when detecting kernel version
...
old-commit-hash: 0cda65b58e
5 years ago
Adeeb Shihadeh
b32859413f
hwType is in health
...
old-commit-hash: fd8514eee3
5 years ago
Adeeb Shihadeh
a8edabe453
if sky visible
...
old-commit-hash: e892d6a9d9
5 years ago
Adeeb Shihadeh
fb4bdf8c24
update no GPS alert for comma two users
...
old-commit-hash: b3101998ed
5 years ago
Adeeb Shihadeh
092cb5a021
NEOS update required alert ( #1722 )
...
* NEOS update required
* permanent alert
* bump cereal
old-commit-hash: 6c156d7f45
5 years ago
Adeeb Shihadeh
b16559c4a0
Block entry on non-adaptive cruise mode ( #1708 )
...
* block entry on non-adaptive cruise mode
* user disable
* toyota
old-commit-hash: 25688f36cc
5 years ago
Adeeb Shihadeh
1dfa960485
bump cereal
...
old-commit-hash: 9e34ed4e8c
5 years ago
Adeeb Shihadeh
f008dc9f61
bump cereal
...
old-commit-hash: 92c29c4269
5 years ago
Willem Melching
415c336c41
no gps warning after 5 minutes ( #1692 )
...
old-commit-hash: 684f7b2cc0
5 years ago
Adeeb
f396864fab
Delay alert creation for some events ( #1689 )
...
* add creation delay parameter to alerts
* 1s delay for sensorsInvalid and canError
* bump cereal
* update refs
old-commit-hash: 0bbe870b5f
5 years ago
Adeeb
ea0292d86e
Move driver monitoring out of controls ( #1642 )
...
* move dmonitoring out of controls
* run monitoring unit tests in CI
old-commit-hash: d4858e5ff5
5 years ago
Willem Melching
d0f60029cb
Remove slow down for turns ( #1647 )
...
* Remove slow down for turns
* update ref
old-commit-hash: 15dc6044d4
5 years ago
Jason Young
ebed52527b
Reduce scheduler latency for realtime processes ( #1638 )
...
* WIP: reduce boardd and other lags
* Copypasta fault
* Silence spurious startup warning
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 68531b071c
5 years ago
Adeeb
9027018368
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a
5 years ago
Jafar Al-Gharaibeh
bbe43de357
Fix rounding of minSteerSpeed in events ( #1620 )
...
I thought I was missing a rounding in Mazda code, but it turned
out to be a missing rounding after the recent event refactoring
Python3 interpreter:
>>> print(" %d %d" % (1.6,1.4))
1 1
>>> print(" %d %d" % (round(1.6),round(1.4)))
2 1
>>> print(" %d %d" % (int(round(1.6)),round(1.4)))
2 1
>>> print(" %d %d" % (int(round(1.6)),int(round(1.4))))
2 1
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 73db079199
5 years ago
Willem Melching
dbdbef72d6
vehicle model types ( #1631 )
...
old-commit-hash: 2400417084
5 years ago
Willem Melching
db4a918c2a
Bounds checks on liveParameters for testing on desk
...
old-commit-hash: 0f20ac728f
5 years ago
Adeeb
8c0971086b
Fix speed too low ( #1627 )
...
* fix speed too low
* bump ref
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 165bcf1f31
5 years ago
Willem Melching
a56e2b01f8
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
old-commit-hash: 843a64c72f
5 years ago
Willem Melching
a749ebb1c4
speedTooHigh should not be an immediate disable
...
old-commit-hash: 205cb04ee9
5 years ago
Willem Melching
3e630fce60
Make driverview not pin two cores at 100%
...
old-commit-hash: fab8425f2f
5 years ago
Adeeb Shihadeh
37a67a2a14
enable flake8 E502: backslash is redundant between brackets
...
old-commit-hash: 6466ec982a
5 years ago
Adeeb Shihadeh
9823f1164c
enable flake8 E303: too many blank lines
...
old-commit-hash: f3dcf861c7
5 years ago
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c
5 years ago
Willem Melching
168ac65d9e
White panda no longer supported
...
old-commit-hash: 106cddb49a
5 years ago
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e
5 years ago
Adeeb
7965569766
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
old-commit-hash: 6051061ff8
5 years ago
Adeeb
5e857427ba
Enable more flake8 checks ( #1602 )
...
* enable some more flake8 checks
* some more quick ones
* bump opendbc
* e401
* e711 e712
* e115 e116
* e222
* e301
* remove that
* e129
* e701 e702
* e125 e131
* e227
* e306
* e262
* W503
* e713
* e704
* e731
* bump opendbc
* fix some e722
old-commit-hash: d9bf9f0a40
5 years ago
Adeeb Shihadeh
2feaebfc80
break canError into two separate events
...
old-commit-hash: 916448af25
5 years ago
Adeeb Shihadeh
5ab1d48f90
Fix below steer speed alert text not updating
...
old-commit-hash: 7961d5ffd7
5 years ago
Willem Melching
c0866d9edb
pre-commit pylint ( #1580 )
...
* "The commit-hook project sounds interesting though. I would definitely merge something that runs flake8 and pylint on the modified files!"
- pd0wm, https://github.com/commaai/openpilot/pull/1575#issuecomment-634974344
* add pylint to pre-commit and make everything pass
* Remove uncommented stuff
Co-authored-by: J <user@4800.lan>
old-commit-hash: bd06434243
5 years ago