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
HaraldSchafer
3488486258
Minor fixes ( #1571 )
...
* was 5 seconds not .2!
* threshold for moving car highers, this can give FPw
old-commit-hash: 67017d69fe
5 years ago
Adeeb Shihadeh
6f0c5834e7
Fix blank mdMonoTime and controlsStateMonoTime in radard
...
old-commit-hash: 2ecc7d9f6f
5 years ago
Willem Melching
91f1082394
-Werror ( #1567 )
...
* werror
* -Wno-inconsistent-missing-override
* Silence ffmpeg deprecation warnings
* add some more pragmas to ignore warnings
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 50f3f1d335
5 years ago
Willem Melching
4061f1d530
Add permanent CAN error alert ( #1549 )
...
* Add permanent CAN error alert
* canValid needs some time to initialize
* update ref
old-commit-hash: fcf879d783
5 years ago
Willem Melching
ce310f3f65
Revert "Add permanent CAN error alert"
...
This reverts commit 41dfb2a149788a19eb1ee40a3497f2ab35386b74.
old-commit-hash: e6f24f2390
5 years ago
Willem Melching
5e4ada7249
Add permanent CAN error alert
...
old-commit-hash: 0abf99dbe0
5 years ago
Willem Melching
e57247be9d
Sounds available isdir -> isfile
...
old-commit-hash: 41da10ff38
5 years ago
Willem Melching
12d3366c55
Add percent sign to calibration screen
...
old-commit-hash: 517826c1e1
5 years ago
Adeeb Shihadeh
982aacb28d
fix possible FileNotFoundError
...
old-commit-hash: 260e6aff53
5 years ago
Willem Melching
b2fb4632cd
Fix #1545 , sensor alert on startup
...
old-commit-hash: 9f0eac9089
5 years ago
Willem Melching
6e41973c3c
Handle posenet and sensor alerts in locationd ( #1541 )
...
* handle posenet and senor alerts in locationd
* defaults now set in capnp file
* Cleanup c++ version of params learner
* update ref commit
old-commit-hash: d099e09fb7
5 years ago
eFini
7ec2abcf08
use buttonEvent.type instead of string ( #1533 )
...
old-commit-hash: e14dfa3bec
5 years ago
Andre Volmensky
f6c2c72851
Bugfix: Reset saturated_count if angle no longer saturated ( #1522 )
...
old-commit-hash: 135385c5fb
5 years ago
Willem Melching
8189186d8e
Alert callback functions were returning tuples
...
old-commit-hash: c18891b936
5 years ago
Willem Melching
a6676b8a62
White panda is deprecated ( #1516 )
...
* Start white panda deprecation
* Unify alert text
* Add noentry
* Change to no longer supported
* panda is lowercase
* Capitalize
* rerun ci
old-commit-hash: c85b174584
5 years ago
Willem Melching
380d1e4f3d
Fix two event names
...
old-commit-hash: 631d0d94d3
5 years ago
Adeeb
48340cc8cb
Alerts + Events refactor ( #1466 )
...
old-commit-hash: d976233f69
5 years ago
Willem Melching
39e5985776
Clip v_cruise to V_CRUISE_MAX
...
old-commit-hash: ef33007813
5 years ago
Willem Melching
43b696893d
speed too high louder alert
...
old-commit-hash: e7ec02e201
5 years ago
Willem Melching
ef6640c7c4
Fix controlsd typo in refactor
...
old-commit-hash: 516fa29738
5 years ago
Adeeb
fe106e25a3
Controlsd refactor ( #1487 )
...
* it's a class
* more refactor
* remove that
* car interface should create that
* that too
* not a dict
* don't create permanent events every iteration
* break up long lines
* fix honda
* small optimization
* less long lines
* dict is faster
* latcontrol less args
* longcontrol less args
* update profiling script
* few optimizations
* create events together
* clean up
* more clean up
* remove comment
* clean up
* simplify state transition
* more clean up
* update comments
old-commit-hash: 08832ff29d
5 years ago
Adeeb Shihadeh
bd980f6048
delete unused lines
...
old-commit-hash: 10ae22a192
5 years ago
Adeeb Shihadeh
0a5273bf46
fix circular import reported by LGTM
...
old-commit-hash: 48dec51f0e
5 years ago
HaraldSchafer
f3747d2fe5
Better poly ( #1437 )
...
- better polyfitting
- no mpc cost change during lane change
- model trained with better ll gt, sim noise and guaranteed memories
old-commit-hash: 65fcc7c45f
5 years ago
Willem Melching
21d7ad1e51
remove yet another reverse geocoder
...
old-commit-hash: 70ae01e3cd
5 years ago
Willem Melching
9da970c342
no more geofence
...
old-commit-hash: 267ee4d73b
5 years ago
Willem Melching
cd4c04e290
No more line following robots
...
old-commit-hash: 42f741d6ff
5 years ago
ZwX1616
34eebc37b1
orange distracted alert is now continuous ( #1412 )
...
old-commit-hash: 922055f464
5 years ago
George Hotz
06407161e6
add safety note
...
old-commit-hash: 58e71de9fb
5 years ago
HaraldSchafer
5d72509104
Faster lane change ( #1381 )
...
* final B2 for 0.75
* more aggression in lane changes
old-commit-hash: d39595cf10
5 years ago
Willem Melching
e07d6c35b1
Show relay malfunction alert ( #1373 )
...
* show relay malfunction alert
* Remove empty line
* Also immediate disengage
* Forgot noEntry
* Fix name
old-commit-hash: 2b2751c6bd
5 years ago
ZwX1616
f90b956f47
RHD support for driver monitoring ( #1299 )
...
old-commit-hash: 133b1a20b4
5 years ago