Commit Graph

4943 Commits

Author SHA1 Message Date
Adeeb Shihadeh 4bc90c578a add test route for HYUNDAI.KIA_SORENTO 2020-07-23 15:44:14 -07:00
Adeeb Shihadeh 61548f5a48 Only draw lead car indicators when controlling longitudinal (#1914) 2020-07-23 13:28:58 -07:00
Adeeb Shihadeh f753ca14ad add HYUNDAI_GENESIS test route 2020-07-23 13:24:06 -07:00
martinl a086f52881 Subaru Global generated dbc and new signals (#1908)
* Change carstate signals to use feature-subaru-long dbc

* Add Conventional_Cruise signal to carstate

* Fix Conventional_Cruise signal source

* Use Cruise_Cancel signal in subarucan

* switch to subaru-global-2020 opendbc branch

* Update release file

* bump opendbc

* switch panda to subaru-global-carstate branch

* bump panda

* bump opendbc

* revert submodules for upstream PR

* switch panda and opendbc to upstream

* bump opendbc
2020-07-23 12:28:23 -07:00
Willem Melching 74f95b8b26 skip 1st segment in debug replay 2020-07-23 17:56:36 +02:00
Willem Melching 7a1e229a9a fix spinner 2020-07-23 17:51:45 +02:00
Erich Moraga 8f6ea69396 Add fwdCamera f/w for 2020 Corolla Hybrid ZR (AUS) (#1911)
@iamty#6048 DongleID c4bfe655c9130ba4
2020-07-23 17:32:16 +02:00
Dean Lee 1da11c26b6 boardd: Add new functions usb_read, usb_write (#1856)
* add func usb_write&usb_read

* rename cnt to err

* pass in device handle

* use defines for flag values

* consistent spaces

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-07-23 17:27:08 +02:00
Dean Lee c788aa99dd fix buffer overflow (#1871) 2020-07-23 15:52:59 +02:00
Dean Lee 2232efbcd4 boardd: release claimed interface before closing usb (#1855)
* release claimed interface

* pass device handle by reference

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-07-23 15:37:28 +02:00
Willem Melching 0ac2f6c470 make sure boardd loopback test can run standalone 2020-07-23 15:31:32 +02:00
Adeeb Shihadeh 3b428fdebb fix modeld replay test 2020-07-22 20:17:27 -07:00
Willem Melching 5139b827af add tolerance to process replay compare (#1904) 2020-07-22 11:50:58 +02:00
Greg Hogan 825821f010 Honda CRV BSM alert from B-CAN (#1867) 2020-07-21 17:41:45 +02:00
Chris Souers 85000dd5cc Add 2020 Insight FW (#1879) 2020-07-21 12:06:21 +02:00
Andre Volmensky da5dc7693e Nissan: Tweaking steeringPressed/LKAS_MAX_TORQUE (#1865)
* Tweaking steeringPressed/LKAS_MAX_TORQUE

* Update ref commit
2020-07-20 16:30:40 -07:00
Adeeb Shihadeh 2d4f0c49fa Revert "Update values.py (#1824)"
This reverts commit 2052bd69f1.
2020-07-20 15:41:57 -07:00
s70160 2052bd69f1 Update values.py (#1824)
CAR.IONIQ_EV_LTD: [{
68: 8, 127: 8, 304: 8, 320: 8, 339: 8, 352: 8, 356: 4, 544: 8, 576:8, 593: 8, 688: 5, 832: 8, 881: 8, 882: 8, 897: 8, 902: 8, 903: 8, 916: 8, 1040: 8, 1056: 8, 1057: 8, 1078: 4, 1136: 6, 1173: 8, 1225: 8, 1265: 4, 1280: 1, 1287: 4, 1290: 8, 1291: 8, 1292: 8, 1294: 8, 1322: 8, 1342: 6, 1345: 8, 1348: 8, 1355: 8, 1363: 8, 1369: 8, 1407: 8, 1427: 6, 1429: 8, 1430: 8, 1448: 8, 1456: 4, 1470: 8, 1476: 8, 1535: 8
}],
2020-07-20 14:10:21 -07:00
Adeeb Shihadeh ede5b632b5 fix tested branch detection 2020-07-20 13:59:10 -07:00
Adeeb Shihadeh 2189fe8741 bump to 0.7.8 2020-07-20 11:47:26 -07:00
Shane Smiskol ebadb39e42 Fix hard deceleration after user accelerates above set cruise speed (#1880)
* Fix hard deceleration after user accelerates above set cruise speed

* 2nd required change
2020-07-20 17:04:05 +02:00
cfranhonda 1613abb0b1 Update civic bosch longitudinal tuning (#1875)
These are the correct values when i was testing visionradar. Things got messed when Civics were coded together and got split up again.
2020-07-20 17:03:20 +02:00
Adeeb Shihadeh c8f880665a Disable raw upload while onroad (#1894)
* disable raw upload while onroad

* fix tests
2020-07-20 15:21:39 +02:00
eFini 75565b0635 gas pressed treats as driver engaged (#1895) 2020-07-20 15:20:24 +02:00
Adeeb Shihadeh 5db81f60ca 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
2020-07-19 16:12:22 -07:00
Adeeb Shihadeh 35a5b057c1 minor cleanups from LGTM 2020-07-17 23:34:38 -07:00
ZwX1616 c2be31c10b Revert "EfficientNet driver monitoring (#1866)"
This reverts commit 2d0e994674.

Need to fix test
2020-07-17 18:20:04 -07:00
ZwX1616 2d0e994674 EfficientNet driver monitoring (#1866)
* e96f9be6

* bump cereal

* filter sunglasses

* fix unittest

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-07-17 15:34:02 -07:00
Alfonso Hernandez cdd9eb32a2 Adding fingerprinting values for Toyota Rav4 Hybrid TSS2 Germany (#1885) 2020-07-17 10:33:35 -07:00
Adeeb Shihadeh 165e14d103 Rebuild cython extensions when dependency version changes (#1886)
* rebuild cython extensions when python/cython/distutils version changes

* submodules and boardd

* kalman and transformations
2020-07-16 13:59:32 -07:00
Adeeb Shihadeh 3ff373ed0d add UI for boardd loopback test 2020-07-15 11:53:42 -07:00
Adeeb Shihadeh 58c3b5ba84 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 a8e7a187ca.

* 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>
2020-07-14 14:23:27 -07:00
Adeeb Shihadeh 1ef3b20955 2020 Jeep Grand Cherokee fingerprint
Squashed commit of the following:

commit a1a14048375b4d9c9181b2797621e999738104f8
Author: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Date:   Mon Jul 13 16:30:54 2020 -0700

    cleanup

commit cf7d4bb162c5018a05b81dd83f124b3ef7826714
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Sun Jul 12 21:08:59 2020 -0700

    added missed value

commit b91af6eef1b5d966cf4342475a37129ddb46e8de
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Sun Jul 12 20:52:41 2020 -0700

    Update values.py

commit d3d564fc76db19eae1464d6d938fdc43aa9b6d4e
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Fri Jul 10 00:23:35 2020 -0700

    add support for 2020 Grand Cherokee
2020-07-13 17:00:27 -07:00
Adeeb Shihadeh 62a94eb0cd fix blocking sleep in updated (#1860) 2020-07-12 01:46:18 -07:00
Adeeb Shihadeh 897ee6bd2b Use a monotonic clock source for power monitoring (#1861) 2020-07-12 01:46:02 -07:00
martinl 7b2789aa3a Add APPROACHING signals for Subaru blindspot monitoring (#1864) 2020-07-11 14:36:26 -07:00
s70160 1286b45bfe Add hyundai ioniq 2018 fingerprint (#1863) 2020-07-11 00:17:32 -07:00
Adeeb Shihadeh b17a6e8f31 default to a reasonable amount of segs in replay_drive_can.py 2020-07-10 17:58:04 -07:00
Adeeb Shihadeh 897548c7ef clear scons cache dirs older than a day in CI 2020-07-10 17:18:52 -07:00
Adeeb Shihadeh 704bc1b883 small scons cleanup (#1858) 2020-07-10 15:26:16 -07:00
Adeeb Shihadeh b81f404457 Simplify hyundai resume logic (#1852)
* simplify hyundai resume logic

* more reliable

* SCC doesn't resume under 3.7m
2020-07-10 12:53:14 -07:00
Adeeb Shihadeh 80aead479e update refs due to carParams.communityFeature change for sonata 2020-07-10 12:01:29 -07:00
Adeeb Shihadeh d0b7760731 promote sonata 2020-07-10 11:48:55 -07:00
Jason Young c43df81214 Make updated more resilient (#1853)
* Add sleep at updated startup

* Mitigate symlink-related FS damage
2020-07-10 07:41:26 -04:00
Adeeb Shihadeh c8f3ff8913 only check frame age for posenet too 2020-07-09 20:55:56 -07:00
Adeeb Shihadeh 587bdf5937 only check frame age for model validity 2020-07-09 20:37:28 -07:00
Adeeb Shihadeh d2784f0ff0 all genesis have BSM standard 2020-07-09 18:42:05 -07:00
Scott Adair c6caf061c7 Add BSM Support for the Palisade (#1851)
Us Palisade drivers love BSM as much as the Sonata drivers, maybe more because our blind spots are bigger...

Anyway, BSM is standard across all trims so it's safe to enable support
2020-07-09 18:38:27 -07:00
Adeeb Shihadeh 8bf198ba7d only check BSM on sonata for now, not equipped on all HKG 2020-07-09 18:26:06 -07:00
Adeeb Shihadeh 7cfdeb1a32 Hyundai: use SCC12 for stock ADAS signals on cars that don't have FCA11 (#1849)
* some hyundai use SCC12 for AEB/FCW

* add other cars from fingerprints

* comment
2020-07-09 17:52:48 -07:00