Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e
2020-05-31 12:49:11 -07:00
Adeeb
7965569766
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
old-commit-hash: 6051061ff8
2020-05-31 00:48:47 -07:00
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
2020-05-30 20:14:58 -07:00
Adeeb Shihadeh
2feaebfc80
break canError into two separate events
...
old-commit-hash: 916448af25
2020-05-29 12:00:41 -07:00
Adeeb Shihadeh
5ab1d48f90
Fix below steer speed alert text not updating
...
old-commit-hash: 7961d5ffd7
2020-05-28 20:39:13 -07:00
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
2020-05-27 20:00:14 -07:00
HaraldSchafer
3488486258
Minor fixes ( #1571 )
...
* was 5 seconds not .2!
* threshold for moving car highers, this can give FPw
old-commit-hash: 67017d69fe
2020-05-27 14:35:01 -07:00
Adeeb Shihadeh
6f0c5834e7
Fix blank mdMonoTime and controlsStateMonoTime in radard
...
old-commit-hash: 2ecc7d9f6f
2020-05-26 17:53:55 -07:00
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
2020-05-26 13:27:01 -07:00
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
2020-05-21 16:08:05 -07:00
Willem Melching
ce310f3f65
Revert "Add permanent CAN error alert"
...
This reverts commit 41dfb2a149788a19eb1ee40a3497f2ab35386b74.
old-commit-hash: e6f24f2390
2020-05-21 15:30:16 -07:00
Willem Melching
5e4ada7249
Add permanent CAN error alert
...
old-commit-hash: 0abf99dbe0
2020-05-21 14:53:40 -07:00
Willem Melching
e57247be9d
Sounds available isdir -> isfile
...
old-commit-hash: 41da10ff38
2020-05-21 14:46:18 -07:00
Willem Melching
12d3366c55
Add percent sign to calibration screen
...
old-commit-hash: 517826c1e1
2020-05-21 14:43:07 -07:00
Adeeb Shihadeh
982aacb28d
fix possible FileNotFoundError
...
old-commit-hash: 260e6aff53
2020-05-21 09:59:39 -07:00
Willem Melching
b2fb4632cd
Fix #1545 , sensor alert on startup
...
old-commit-hash: 9f0eac9089
2020-05-20 11:25:55 -07:00
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
2020-05-19 16:45:20 -07:00
eFini
7ec2abcf08
use buttonEvent.type instead of string ( #1533 )
...
old-commit-hash: e14dfa3bec
2020-05-18 10:15:30 -07:00
Andre Volmensky
f6c2c72851
Bugfix: Reset saturated_count if angle no longer saturated ( #1522 )
...
old-commit-hash: 135385c5fb
2020-05-16 01:14:10 -07:00
Willem Melching
8189186d8e
Alert callback functions were returning tuples
...
old-commit-hash: c18891b936
2020-05-15 18:29:22 -07:00
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
2020-05-15 13:00:00 -07:00
Willem Melching
380d1e4f3d
Fix two event names
...
old-commit-hash: 631d0d94d3
2020-05-15 12:24:12 -07:00
Adeeb
48340cc8cb
Alerts + Events refactor ( #1466 )
...
old-commit-hash: d976233f69
2020-05-14 15:21:21 -07:00
Willem Melching
39e5985776
Clip v_cruise to V_CRUISE_MAX
...
old-commit-hash: ef33007813
2020-05-13 18:05:24 -07:00
Willem Melching
43b696893d
speed too high louder alert
...
old-commit-hash: e7ec02e201
2020-05-13 18:02:09 -07:00
Willem Melching
ef6640c7c4
Fix controlsd typo in refactor
...
old-commit-hash: 516fa29738
2020-05-12 18:58:18 -07:00
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
2020-05-12 15:06:48 -07:00
Adeeb Shihadeh
bd980f6048
delete unused lines
...
old-commit-hash: 10ae22a192
2020-05-10 11:25:42 -07:00
Adeeb Shihadeh
0a5273bf46
fix circular import reported by LGTM
...
old-commit-hash: 48dec51f0e
2020-05-09 16:47:36 -07:00
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
2020-05-08 17:14:43 -07:00
Willem Melching
21d7ad1e51
remove yet another reverse geocoder
...
old-commit-hash: 70ae01e3cd
2020-04-24 14:07:36 -07:00
Willem Melching
9da970c342
no more geofence
...
old-commit-hash: 267ee4d73b
2020-04-24 14:06:17 -07:00
Willem Melching
cd4c04e290
No more line following robots
...
old-commit-hash: 42f741d6ff
2020-04-24 14:05:19 -07:00
ZwX1616
34eebc37b1
orange distracted alert is now continuous ( #1412 )
...
old-commit-hash: 922055f464
2020-04-23 14:15:05 -07:00
George Hotz
06407161e6
add safety note
...
old-commit-hash: 58e71de9fb
2020-04-20 13:56:02 -07:00
HaraldSchafer
5d72509104
Faster lane change ( #1381 )
...
* final B2 for 0.75
* more aggression in lane changes
old-commit-hash: d39595cf10
2020-04-16 18:13:37 -07:00
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
2020-04-16 11:38:31 -07:00
ZwX1616
f90b956f47
RHD support for driver monitoring ( #1299 )
...
old-commit-hash: 133b1a20b4
2020-04-15 16:48:44 -07:00
Willem Melching
adaede6b37
Force decel on soft disable ( #1334 )
...
old-commit-hash: 7643b0a511
2020-04-08 14:59:17 -07:00
Adeeb
d4cec82895
Unit test for alert width ( #1307 )
...
* unit test for alert width
* fix scale
* comment
* fix offending alert text
* rename
* update process replay refs
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 0f6c22ce8b
2020-04-07 21:37:17 -07:00
Andre Volmensky
613e84efe0
Add angle based steer saturation timer ( #1311 )
...
* Add angle based steer saturation timeout
* Fixed saturated check
old-commit-hash: 522dc29b53
2020-04-05 10:59:54 -07:00
eFini
7d25d238a3
use put_nonblocking when possible ( #1288 )
...
* use put_nonblocking when possible
* revert uneeded changes
old-commit-hash: 106be23c4e
2020-03-31 12:09:38 -07:00
Willem Melching
aa8ca1819d
High speed alert ( #1295 )
...
* add speed to high alerts
* Add permanent alert
* Two lines
* No permanent alerts
* Less bad alert
* Typo
old-commit-hash: 3cb1568a54
2020-03-30 18:41:56 -07:00
BRose98
173c3ca37d
Removed self-assignments ( #1283 )
...
* Removed self-assignments
* pulled master version of changed cubmodules
* Corrected the submodules
Co-authored-by: BRose98 <b.roseboom@students.uu.nl >
old-commit-hash: daba092038
2020-03-29 12:31:27 -07:00
Willem Melching
0d03fad5b6
Nissan leaf ( #1275 )
...
* split out leaf and xtrail
* Add brake pedal
* This should work
* Fix test car models + bump panda
* Combined cruise enabled detection in single message
* Proper frequency checks
* Add doors
* Blinkers and doors
* Seatbelt
* Gear
* Add cancel message
* Unify steering pressed
* Remove angle limit
* Add steer saturation alert for angle based control
* Add set speed
* Change wheel speed factor
* Fix offset in set speed
* Timeout on engage for steer saturated
* Put counter back
* try cancel using seatbelt
* Try different cancel message
* Rename cancel signal
* Add LKAS alert
* Add missing fingerprint values
* Update test car models
* Add some comments
old-commit-hash: 1df6b67511
2020-03-27 21:44:59 -07:00
Harald Schafer
40ded9fb5e
reformat for sim
...
old-commit-hash: 6766776e73
2020-03-27 17:02:40 -07:00
ZwX1616
a004735b19
add webcam to cameras ( #1201 )
...
old-commit-hash: a95e61edf4
2020-03-26 19:19:47 -07:00
Harald Schafer
18a05e304c
longitudinal e2e mpc
...
old-commit-hash: 34f2c0da75
2020-03-26 17:43:11 -07:00
HaraldSchafer
ec2b82f11c
New lane planner ( #1276 )
...
* better lane planner
* works well on test
* needs speed now
* update ref
old-commit-hash: 5f8e3b4d93
2020-03-25 16:57:58 -07:00
Willem Melching
c3d7d8d6af
Go to dashcam mode if locked out, fixes #1109
...
old-commit-hash: d08b56317f
2020-03-18 11:38:00 -07:00