Commit Graph

1946 Commits

Author SHA1 Message Date
Erich Moraga 3c385e78f7 Local variable ARCH isn't used anymore (#1930)
old-commit-hash: b677e89159d4c4fb3b9974adfa015cfb83ed11f8
2020-07-27 13:06:13 -07:00
Adeeb Shihadeh 1e056a25b9 bump cereal
old-commit-hash: cf8c848ddd9dddd4e1852df365513f73c67ed91c
2020-07-27 13:02:24 -07:00
Willem Melching daaefd6cca qcom2 build fixes
old-commit-hash: 405d94ec6d98727d9ffbfc4d469c92ca327dfa1a
2020-07-27 16:13:25 +00:00
Dean Lee 1bff58ff15 sidebar: remove unnecessary checks on uilayout_sidebarcollapsed (#1928)
* cleanup

* keep local variables

* done
old-commit-hash: 5cbdaa19bbe3a44b5fadcf5dfc77b4e885295cf2
2020-07-26 21:00:24 -07:00
Dean Lee 5c2e225f34 boardd: use enum instead of magic number (#1927)
old-commit-hash: cf1ae581ed942ad01f94ba5fac76cc71b4677b2c
2020-07-26 14:30:56 -07:00
Adeeb Shihadeh 9ca2bbfc40 kia stinger: use hyundaiLegacy safety mode and add test route
old-commit-hash: 360cd7d8a86460fcc339ead89c0c6a439417eb66
2020-07-26 14:09:49 -07:00
Adeeb Shihadeh 39d98d3d2d Car cleanup (#1924)
* cleanup car code

* more pruning

* little more

* less pylint disables

* radar stuff

* fix

* udpate refs

* fix honda bosch

* fix test
old-commit-hash: 892e1162c0bfa0970cbe262452a70745eccb8ba6
2020-07-25 15:07:27 -07:00
Adeeb Shihadeh dbdcaef1a1 Test Car Models 2.0 (#1903)
* start with radar interface

* car interface

* panda safety rx check

* check panda safety inits

* check NO_RADAR_SLEEP in all radar interfaces

* sonata 2019 and kia optima should use hyundai legacy safety

* check radar errors

* check radar can errors

* real fingerprint

* run in CI

* it shoud pass now

* ignore old openpilot msgs

* ensure safety mode is set

* sort can msgs

* filter out openpilot msgs
old-commit-hash: 99106fd9c465b366c7c61b8a0452b73455a9b96d
2020-07-25 02:27:56 -07:00
Adeeb Shihadeh 011c336047 Improve on-device CI reliability (#1922)
old-commit-hash: 90fc1c602814b87c1a09fca02e3846a332bc5e03
2020-07-25 02:12:19 -07:00
Willem Melching 488bbcaaa4 remove old params learner (#1918)
old-commit-hash: e0e7c7486d653a550c596f9dca7e5b6424d4c05d
2020-07-24 18:43:17 +02:00
Willem Melching ea052d61b3 Update pip to 20.1.1 so python-opencv installation succeeds
old-commit-hash: b16e90c78172674fbb0f5206c75275a13b9f6926
2020-07-24 12:13:00 +02:00
Comma Device 0e83e7617c add timeout on procLog socket for CPU usage test
old-commit-hash: 9a78378b81a66b5ea6c5f0a9c211e24210233327
2020-07-23 17:51:18 -07:00
Adeeb Shihadeh dfd9f12055 update refs
old-commit-hash: 02d5b19d4defe6c0946b86881f27dee624f128bd
2020-07-23 15:55:53 -07:00
xps-genesis bf5dfac4a4 Use hyundai legacy safety for Kia Sorento (#1912)
confirmed kia sorento to use legacy safety checks
old-commit-hash: 3a1b08eb9d0f82f4b15862431fe5164e752c1509
2020-07-23 15:45:19 -07:00
Adeeb Shihadeh 713da21faf add test route for HYUNDAI.KIA_SORENTO
old-commit-hash: 4bc90c578aa1e229c18b62aaec6668dee9b49a84
2020-07-23 15:44:14 -07:00
Adeeb Shihadeh 660928eedf Only draw lead car indicators when controlling longitudinal (#1914)
old-commit-hash: 61548f5a483e0fa7fba6f167017c3fbe73e3f684
2020-07-23 13:28:58 -07:00
Adeeb Shihadeh 1618f87f5d add HYUNDAI_GENESIS test route
old-commit-hash: f753ca14ad1ab26eb81d48b50c6672e44c81334f
2020-07-23 13:24:06 -07:00
martinl 54e4939168 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
old-commit-hash: a086f52881f4a1f0d20486e7fa089a843d5d8b34
2020-07-23 12:28:23 -07:00
Willem Melching 591dcc26ee skip 1st segment in debug replay
old-commit-hash: 74f95b8b26f39c61f91c83f46bbeb93bb43da968
2020-07-23 17:56:36 +02:00
Willem Melching 8581c25600 fix spinner
old-commit-hash: 7a1e229a9a692421fc038eec5be376b7f6bebc6d
2020-07-23 17:51:45 +02:00
Erich Moraga 8fe78bbf06 Add fwdCamera f/w for 2020 Corolla Hybrid ZR (AUS) (#1911)
@iamty#6048 DongleID c4bfe655c9130ba4
old-commit-hash: 8f6ea693963bfed8ccd27481c69dd6a7dd969458
2020-07-23 17:32:16 +02:00
Dean Lee 72c1cf9680 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>
old-commit-hash: 1da11c26b6df31731a23ff9e622f1589060bd5e6
2020-07-23 17:27:08 +02:00
Dean Lee c95063426a fix buffer overflow (#1871)
old-commit-hash: c788aa99ddb78e3a01ad3685f5e8be84c7806481
2020-07-23 15:52:59 +02:00
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: 2232efbcd4704dfe2713bb84b27056bbef5b1cac
2020-07-23 15:37:28 +02:00
Willem Melching df3a172286 make sure boardd loopback test can run standalone
old-commit-hash: 0ac2f6c47052f50ebb6eb05381a74135c1cec885
2020-07-23 15:31:32 +02:00
Willem Melching 9ac982ea34 fix cppcheck on ubuntu 19.10
old-commit-hash: 5f59fd4f40fda2dc07ab140253730058726ea753
2020-07-23 15:24:17 +02:00
Adeeb Shihadeh 6530890cac fix modeld replay test
old-commit-hash: 3b428fdebb3366a394b984b2778bc5a5bd8d8ed8
2020-07-22 20:17:27 -07:00
Willem Melching dcef0e394b add tolerance to process replay compare (#1904)
old-commit-hash: 5139b827af21a71a5f07719486cb168773f838fa
2020-07-22 11:50:58 +02:00
Willem Melching 760044710c update pipfile.lock (#1896)
* update pipfile

* matrix is deprecated

* Numpy almost equal

* sympy 1.6
old-commit-hash: 95b0c69c12cb859025b77d1ba9ed9433c78f1e9f
2020-07-21 21:15:09 +02:00
Greg Hogan f646a64cce Honda CRV BSM alert from B-CAN (#1867)
old-commit-hash: 825821f010db63c3498d3730069f3eac08ace789
2020-07-21 17:41:45 +02:00
Willem Melching 988558f548 bump opendbc
old-commit-hash: 4e14ef470c3d91961cdfc981d5dc70e69c250c4f
2020-07-21 13:47:42 +02:00
Chris Souers 750d422fb6 Add 2020 Insight FW (#1879)
old-commit-hash: 85000dd5cc4a5171789f970689dfb32dc31be4a1
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: da5dc7693edc12dd281ce365a655dab56fb62494
2020-07-20 16:30:40 -07:00
Adeeb Shihadeh c892049210 Revert "Update values.py (#1824)"
This reverts commit 1ba4b03ab3750db7aeb8655f14f86458a448f249.

old-commit-hash: 2d4f0c49fa15c423be2ce25716fbc9c9e9c4f2b1
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: 2052bd69f1ebb5133869f47cfeed60d63962138c
2020-07-20 14:10:21 -07:00
Adeeb Shihadeh dff8e1310d fix tested branch detection
old-commit-hash: ede5b632b58c55e4ff003f948efae07fe03c2280
2020-07-20 13:59:10 -07:00
Adeeb Shihadeh 0fe01be1b7 bump to 0.7.8
old-commit-hash: 2189fe8741b635d8394d55dee28959425cfd5ad0
2020-07-20 11:47:26 -07:00
Willem Melching 9c291968f6 Speedup URLFile (#1888)
* add parallel download support to URLFile

* make python 3.8 happy

* Fix chunk size

* Automatic number of threads

* No daemon threads in unlogger

* Cache length

* dont touch old filereader

* Remove debug info

* remove debug script

* Ignore type
old-commit-hash: c70700758d9e3227a157d2e9fdcb9d3204b433c2
2020-07-20 17:10:08 +02: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: ebadb39e42d8a39eaf3bc969157777d596e42012
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: 1613abb0b15e24e3d0ddec3efdbd0d61581e6d2b
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: c8f880665a6331aaed7799b37b12ea639e899c77
2020-07-20 15:21:39 +02:00
eFini 8518687228 gas pressed treats as driver engaged (#1895)
old-commit-hash: 75565b0635f7d1d659c77ed6dd99927e8c1b22a9
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: 5db81f60ca8fbc0ef28924b7e93f25a1d4bb3764
2020-07-19 16:12:22 -07:00
Adeeb Shihadeh d2c16bac21 bump panda
old-commit-hash: b299a1b9bb2e14aef435337ca27f04447513809b
2020-07-19 14:00:07 -07:00
Adeeb Shihadeh 86d9da50c5 add test for params permissions
old-commit-hash: 2ad9c50e3613674cb6170b46411d7dba0b1edff9
2020-07-18 18:30:29 -07:00
Adeeb Shihadeh 2e066f16e8 fix params permissions after #1890
old-commit-hash: 8db641efec5d3c4df284afd9b8c8e9c2838ccabb
2020-07-18 18:10:46 -07:00
Mufeed VH 9b94e0ae8b Fix insecure temporary file creation (#1890)
* Fix insecure temporary file creation

* minor error fix

tmp_path.name (NamedTemporaryFile().name) is required to return the filename string.
old-commit-hash: a34b9f5cb5a691b2153f6a2ba905e6f1f84af341
2020-07-17 23:49:57 -07:00
Adeeb Shihadeh 370a68623e minor cleanups from LGTM
old-commit-hash: 35a5b057c1ab6d3f77daae6a40d14c9bff28f08b
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: c2be31c10be18893fbb1f45b37e34f291fa6b97d
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: 2d0e994674dcd1965bb28158d49428fb43df8902
2020-07-17 15:34:02 -07:00