Commit Graph

8267 Commits

Author SHA1 Message Date
Dean Lee 3d1cda5a5e 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>
old-commit-hash: 2232efbcd4
2020-07-23 15:37:28 +02:00
Willem Melching df3a172286 make sure boardd loopback test can run standalone
old-commit-hash: 0ac2f6c470
2020-07-23 15:31:32 +02:00
Adeeb Shihadeh 6530890cac fix modeld replay test
old-commit-hash: 3b428fdebb
2020-07-22 20:17:27 -07:00
Willem Melching dcef0e394b add tolerance to process replay compare (#1904)
old-commit-hash: 5139b827af
2020-07-22 11:50:58 +02:00
Greg Hogan f646a64cce Honda CRV BSM alert from B-CAN (#1867)
old-commit-hash: 825821f010
2020-07-21 17:41:45 +02:00
Chris Souers 750d422fb6 Add 2020 Insight FW (#1879)
old-commit-hash: 85000dd5cc
2020-07-21 12:06:21 +02:00
Andre Volmensky 2809e447ad Nissan: Tweaking steeringPressed/LKAS_MAX_TORQUE (#1865)
* Tweaking steeringPressed/LKAS_MAX_TORQUE

* Update ref commit
old-commit-hash: da5dc7693e
2020-07-20 16:30:40 -07:00
Adeeb Shihadeh c892049210 Revert "Update values.py (#1824)"
This reverts commit 1ba4b03ab3750db7aeb8655f14f86458a448f249.

old-commit-hash: 2d4f0c49fa
2020-07-20 15:41:57 -07:00
s70160 8661f5f656 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
}],
old-commit-hash: 2052bd69f1
2020-07-20 14:10:21 -07:00
Adeeb Shihadeh dff8e1310d fix tested branch detection
old-commit-hash: ede5b632b5
2020-07-20 13:59:10 -07:00
Adeeb Shihadeh 0fe01be1b7 bump to 0.7.8
old-commit-hash: 2189fe8741
2020-07-20 11:47:26 -07:00
Shane Smiskol 3454f1e033 Fix hard deceleration after user accelerates above set cruise speed (#1880)
* Fix hard deceleration after user accelerates above set cruise speed

* 2nd required change
old-commit-hash: ebadb39e42
2020-07-20 17:04:05 +02:00
cfranhonda 0059e653f0 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.
old-commit-hash: 1613abb0b1
2020-07-20 17:03:20 +02:00
Adeeb Shihadeh e5637bc5de Disable raw upload while onroad (#1894)
* disable raw upload while onroad

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

Need to fix test

old-commit-hash: c2be31c10b
2020-07-17 18:20:04 -07:00
ZwX1616 7a8bf9d7de EfficientNet driver monitoring (#1866)
* e96f9be6

* bump cereal

* filter sunglasses

* fix unittest

* update refs

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

* submodules and boardd

* kalman and transformations
old-commit-hash: 165e14d103
2020-07-16 13:59:32 -07:00
Adeeb Shihadeh 9156fb68c2 add UI for boardd loopback test
old-commit-hash: 3ff373ed0d
2020-07-15 11:53:42 -07:00
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
2020-07-14 14:23:27 -07:00
Adeeb Shihadeh 5913405951 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

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

* more reliable

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

* Mitigate symlink-related FS damage
old-commit-hash: c43df81214
2020-07-10 07:41:26 -04:00
Adeeb Shihadeh 4d9200f307 only check frame age for posenet too
old-commit-hash: c8f3ff8913
2020-07-09 20:55:56 -07:00
Adeeb Shihadeh c8a9fb9321 only check frame age for model validity
old-commit-hash: 587bdf5937
2020-07-09 20:37:28 -07:00
Adeeb Shihadeh 4e25a5862c all genesis have BSM standard
old-commit-hash: d2784f0ff0
2020-07-09 18:42:05 -07:00
Scott Adair 71a537f29d 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
old-commit-hash: c6caf061c7
2020-07-09 18:38:27 -07:00
Adeeb Shihadeh 00b5cba95a only check BSM on sonata for now, not equipped on all HKG
old-commit-hash: 8bf198ba7d
2020-07-09 18:26:06 -07:00
Adeeb Shihadeh 88d80cee39 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
old-commit-hash: 7cfdeb1a32
2020-07-09 17:52:48 -07:00
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
2020-07-09 17:02:21 -07:00
Adeeb Shihadeh cdfb090c7a Wunused (#1841)
* enable Wunused, first pass

* unused stuff in snpe model

* these are used on phone

* handle sigint and sigterm in modeld

* fix phone build

* camera qcom

* QCOM build works

* delete unused camerad vars

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: eb1aa3d831
2020-07-09 09:25:32 -07:00
Andre Volmensky a29579eae6 Nissan: Increase steer pressed threshold (#1833)
* Increasing steer threshold

* Update ref commit
old-commit-hash: 977a6ba46b
2020-07-09 13:50:50 +02:00
Dean Lee 7f84cb0e3f remove duplicate calls to visionstream_destroy (#1843)
old-commit-hash: 3754ddf9ba
2020-07-08 21:47:22 -07:00
Dean Lee 9c33f51990 remove offroadLayout from sm (#1846)
old-commit-hash: 11fbe85c14
2020-07-08 21:24:55 -07:00
Adeeb Shihadeh b38c33cc47 Boardd loopback test (#1840)
* start boardd loopback test

* let's try this in CI

* fix jenkinsfile

* remove old

* rename

* check msgs

* should be reliable now

* send more
old-commit-hash: 3ab0b49656
2020-07-08 19:42:03 -07:00
Erich Moraga 925da66edb Added COROLLAH_TSS2 engine f/w (#1845)
Requious#7292 DongleID bfe8b7e3fabc420f
https://discord.com/channels/469524606043160576/524327905937850394/730546409396240416
old-commit-hash: beb130789f
2020-07-08 15:38:51 -07:00
Adeeb Shihadeh 77fd84b99a openpilot isn't capitalized
old-commit-hash: 3983186700
2020-07-07 14:59:30 -07:00
Adeeb Shihadeh 44afc4ae3c Build release2 and dashcam in CI (#1834)
* start building release2 in CI

* build script

* bring over changes from test branch

* fix build release test

* remove references to test branches

* ucnomment push

* fix duplicate remove

* two commits for dashcam

* need the key
old-commit-hash: c715661656
2020-07-07 14:17:09 -07:00