Jafar Al-Gharaibeh
73db079199
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>
5 years ago
Willem Melching
2400417084
vehicle model types ( #1631 )
5 years ago
Willem Melching
0f20ac728f
Bounds checks on liveParameters for testing on desk
5 years ago
Adeeb
165bcf1f31
Fix speed too low ( #1627 )
...
* fix speed too low
* bump ref
Co-authored-by: Willem Melching <willem.melching@gmail.com>
5 years ago
Willem Melching
843a64c72f
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
5 years ago
Willem Melching
205cb04ee9
speedTooHigh should not be an immediate disable
5 years ago
Willem Melching
fab8425f2f
Make driverview not pin two cores at 100%
5 years ago
Adeeb Shihadeh
6466ec982a
enable flake8 E502: backslash is redundant between brackets
5 years ago
Adeeb Shihadeh
f3dcf861c7
enable flake8 E303: too many blank lines
5 years ago
Adeeb Shihadeh
27754a277c
enable E261 in flake8: two spaces before inline comment
5 years ago
Willem Melching
106cddb49a
White panda no longer supported
5 years ago
Adeeb Shihadeh
efd5dffb1e
enable flake8 E231: missing whitespace after comma
5 years ago
Adeeb
6051061ff8
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
5 years ago
Adeeb
d9bf9f0a40
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
5 years ago
Adeeb Shihadeh
916448af25
break canError into two separate events
5 years ago
Adeeb Shihadeh
7961d5ffd7
Fix below steer speed alert text not updating
5 years ago
Willem Melching
bd06434243
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>
5 years ago
HaraldSchafer
67017d69fe
Minor fixes ( #1571 )
...
* was 5 seconds not .2!
* threshold for moving car highers, this can give FPw
5 years ago
Adeeb Shihadeh
2ecc7d9f6f
Fix blank mdMonoTime and controlsStateMonoTime in radard
5 years ago
Willem Melching
50f3f1d335
-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>
5 years ago
Willem Melching
fcf879d783
Add permanent CAN error alert ( #1549 )
...
* Add permanent CAN error alert
* canValid needs some time to initialize
* update ref
5 years ago
Willem Melching
e6f24f2390
Revert "Add permanent CAN error alert"
...
This reverts commit 0abf99dbe0
.
5 years ago
Willem Melching
0abf99dbe0
Add permanent CAN error alert
5 years ago
Willem Melching
41da10ff38
Sounds available isdir -> isfile
5 years ago
Willem Melching
517826c1e1
Add percent sign to calibration screen
5 years ago
Adeeb Shihadeh
260e6aff53
fix possible FileNotFoundError
5 years ago
Willem Melching
9f0eac9089
Fix #1545 , sensor alert on startup
5 years ago
Willem Melching
d099e09fb7
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
5 years ago
eFini
e14dfa3bec
use buttonEvent.type instead of string ( #1533 )
5 years ago
Andre Volmensky
135385c5fb
Bugfix: Reset saturated_count if angle no longer saturated ( #1522 )
5 years ago
Willem Melching
c18891b936
Alert callback functions were returning tuples
5 years ago
Willem Melching
c85b174584
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
5 years ago
Willem Melching
631d0d94d3
Fix two event names
5 years ago
Adeeb
d976233f69
Alerts + Events refactor ( #1466 )
5 years ago
Willem Melching
ef33007813
Clip v_cruise to V_CRUISE_MAX
5 years ago
Willem Melching
e7ec02e201
speed too high louder alert
5 years ago
Willem Melching
516fa29738
Fix controlsd typo in refactor
5 years ago
Adeeb
08832ff29d
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
5 years ago
Adeeb Shihadeh
10ae22a192
delete unused lines
5 years ago
Adeeb Shihadeh
48dec51f0e
fix circular import reported by LGTM
5 years ago
HaraldSchafer
65fcc7c45f
Better poly ( #1437 )
...
- better polyfitting
- no mpc cost change during lane change
- model trained with better ll gt, sim noise and guaranteed memories
5 years ago
Willem Melching
70ae01e3cd
remove yet another reverse geocoder
5 years ago
Willem Melching
267ee4d73b
no more geofence
5 years ago
Willem Melching
42f741d6ff
No more line following robots
5 years ago
ZwX1616
922055f464
orange distracted alert is now continuous ( #1412 )
5 years ago
George Hotz
58e71de9fb
add safety note
5 years ago
HaraldSchafer
d39595cf10
Faster lane change ( #1381 )
...
* final B2 for 0.75
* more aggression in lane changes
5 years ago
Willem Melching
2b2751c6bd
Show relay malfunction alert ( #1373 )
...
* show relay malfunction alert
* Remove empty line
* Also immediate disengage
* Forgot noEntry
* Fix name
5 years ago
ZwX1616
133b1a20b4
RHD support for driver monitoring ( #1299 )
5 years ago
Willem Melching
7643b0a511
Force decel on soft disable ( #1334 )
5 years ago