Commit Graph

10759 Commits

Author SHA1 Message Date
Adeeb Shihadeh 1644e81dfb Add frequency check to hyundai camera can parser (#1965)
old-commit-hash: e10376f1ae
2020-08-02 11:17:18 -07:00
Dean Lee 3e083c1074 remove duplicate call to getDMonitoringState (#1964)
old-commit-hash: 56e63bafa8
2020-08-02 10:55:24 -07:00
Adeeb Shihadeh 2f1d9daa9a Run CI tests in parallel (#1962)
* run car model unit tests in parallel

* remove refs to deleted file

* run with coverage

* that wasn't necessary

* as builder

* need a new route for this one too
old-commit-hash: 9ee1cc9b82
2020-08-02 00:30:09 -07:00
Adeeb Shihadeh fd97dfbdd2 Test can valid in car unit tests (#1961)
* check can invalid

* remove bad lexus is route

* blacklist routes from before cam forwarding

* fix rav4 route with missing first segment
old-commit-hash: e89b2b8453
2020-08-01 22:38:19 -07:00
Adeeb Shihadeh 069bd4061e Driver view refactor (#1869)
* quick driver view cleanup

* send at correct freq

* let manager handle that

* don't block starting on driver view

* fix UI hacks

* ui cleanup

* move driver view functionality into dmonitoringd

* dmonitoring thresholds shouldnt be in UI

* remove driver view file from release files

* timeout on frontview

* bump cereal
old-commit-hash: a7ee2a53a8
2020-08-01 17:26:35 -07:00
Dean Lee 046dd61d3b modeld: read frame_id if sm.update(0)>0 (#1947)
* read frameid if sm.update(0)>0

* move postion

same line
old-commit-hash: f80acad519
2020-08-01 11:01:43 -07:00
Willem Melching 562394e2ae Panda abstraction layer in boardd (#1919)
* start on panda abstraction layer

* handle bulk transfer in library

* Safety model abstraction

* Abstract hw type into library

* Handle disconnect

* RTC stuff

* Fan control

* Health

* Panda fw version

* Read serial

* Power saving

* Power mode

* Cleanup pigeon thread init

* Rename safety setter variable name

* Remove comment

* Unused global cleanup

* malloc -> new

* whitespace

* Use std::thread

* Use std::thread for safety setter

* Cleanup igntion_last global

* Heartbeat

* logd

* More global cleanup

* Put back sleep

* ir pwr

* Always broadcast health

* init struct with zeroes

* Fix eon build

* fix race condition

* fix Adeebs comments

* abstract can send and receive
old-commit-hash: 80acb32825
2020-07-31 23:14:31 +02:00
Adeeb Shihadeh 11d808c89d fix locationd profiling
old-commit-hash: 1d7f4bc3b1
2020-07-30 18:24:07 -07:00
HaraldSchafer bc3b340694 Misc locationd improvements (#1714)
* I like this more

* rewind less

* bump rednose

* falling off windshield detectopr

* adjust thresholds

* this is a soft disable now

* move that

* process replay fixes

* update refs

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8e2d344135
2020-07-30 15:33:22 -07:00
Adeeb Shihadeh 51c3619f99 add locationd, paramsd, dmonitoringd to CPU usage script
old-commit-hash: 4658df7a66
2020-07-30 15:28:58 -07:00
Adeeb Shihadeh 224b7fd34b Remove get_one_can from messaging (#1946)
* move get_one_can into openpilot

* bump cereal
old-commit-hash: 714f8c3f0b
2020-07-28 23:52:18 -07:00
Adeeb Shihadeh fefe79bedb fail new car model unit tests if missing a test route
old-commit-hash: 63e4aeac9f
2020-07-28 23:37:53 -07:00
xps-genesis c50e01474e new palisade fingerprint (#1945)
* new palisade fingerprint

* update 1

* FP2 added

* spacing adjust

* missed a syntax
old-commit-hash: 9853b5b1df
2020-07-28 20:22:43 -07:00
Adeeb Shihadeh 6e7fde5d61 Revert "can't directly access sockets anymore", was supposed to be on branch
This reverts commit 1046c572b4e49608137f687263d443eab6c430f8.

old-commit-hash: acb25751b7
2020-07-28 18:41:39 -07:00
Adeeb Shihadeh 59ade6c2f6 can't directly access sockets anymore
old-commit-hash: 6acda96a16
2020-07-28 18:37:16 -07:00
Shane Smiskol 24ec522ef6 Add a minimal debugging tool to show the UI while device not in car (#1937)
* add a minimal uiview file with alias from selfdrive/ui

* make ui_debug executable

* minimize uiview.py; remove os and functions. the processes exit normally when ctrl+c'ing out of the loop

* violating E401 here, save 1 more line

* kill on exit

* forgot signal

* new record! 15 lines

* add comments and declare some common variables. don't need to redefine the messages every loop
old-commit-hash: 2e59349b2e
2020-07-28 11:15:16 -07:00
Dean Lee b35f7909ba UI cleanup (#1941)
* remove unused variables

* remove unused variables
old-commit-hash: 2953ae2810
2020-07-28 11:13:37 -07:00
ZwX1616 a55099ac2a EfficientNet driver monitoring (#1907)
* e96f9be6

* bump cereal

* filter sunglasses

* fix unittest

* update refs

* udpate refs

* update refs

* add tolerance for dmonitoringd

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2cfa0edb4c
2020-07-27 20:22:06 -07:00
Shane Smiskol d9e9e7a23b Update TOTAL_SCONS_NODES (#1938)
old-commit-hash: 247ec73370
2020-07-27 18:23:38 -07:00
Adeeb Shihadeh c6eac9e30b Add Lexus RX300 2019 FW (#1838)
* Add Lexus RX300 2019 fw

* build tmp branch

* Revert "build tmp branch"

This reverts commit e487ca13458ac0c8c75d2fd3600567b3c22a5ab3.

Co-authored-by: VirtuallyChris <chrismccammon123@gmail.com>
old-commit-hash: 5453d8dd30
2020-07-27 15:59:59 -07:00
Adeeb Shihadeh 40a9160084 remove dead lines from boardd cython setup
old-commit-hash: 967c1f1565
2020-07-27 13:09:09 -07:00
Erich Moraga 3c385e78f7 Local variable ARCH isn't used anymore (#1930)
old-commit-hash: b677e89159
2020-07-27 13:06:13 -07:00
Willem Melching daaefd6cca qcom2 build fixes
old-commit-hash: 405d94ec6d
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: 5cbdaa19bb
2020-07-26 21:00:24 -07:00
Dean Lee 5c2e225f34 boardd: use enum instead of magic number (#1927)
old-commit-hash: cf1ae581ed
2020-07-26 14:30:56 -07:00
Adeeb Shihadeh 9ca2bbfc40 kia stinger: use hyundaiLegacy safety mode and add test route
old-commit-hash: 360cd7d8a8
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: 892e1162c0
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: 99106fd9c4
2020-07-25 02:27:56 -07:00
Adeeb Shihadeh 011c336047 Improve on-device CI reliability (#1922)
old-commit-hash: 90fc1c6028
2020-07-25 02:12:19 -07:00
Willem Melching 488bbcaaa4 remove old params learner (#1918)
old-commit-hash: e0e7c7486d
2020-07-24 18:43:17 +02:00
Comma Device 0e83e7617c add timeout on procLog socket for CPU usage test
old-commit-hash: 9a78378b81
2020-07-23 17:51:18 -07:00
Adeeb Shihadeh dfd9f12055 update refs
old-commit-hash: 02d5b19d4d
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: 3a1b08eb9d
2020-07-23 15:45:19 -07:00
Adeeb Shihadeh 713da21faf add test route for HYUNDAI.KIA_SORENTO
old-commit-hash: 4bc90c578a
2020-07-23 15:44:14 -07:00
Adeeb Shihadeh 660928eedf Only draw lead car indicators when controlling longitudinal (#1914)
old-commit-hash: 61548f5a48
2020-07-23 13:28:58 -07:00
Adeeb Shihadeh 1618f87f5d add HYUNDAI_GENESIS test route
old-commit-hash: f753ca14ad
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: a086f52881
2020-07-23 12:28:23 -07:00
Willem Melching 591dcc26ee skip 1st segment in debug replay
old-commit-hash: 74f95b8b26
2020-07-23 17:56:36 +02:00
Willem Melching 8581c25600 fix spinner
old-commit-hash: 7a1e229a9a
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: 8f6ea69396
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: 1da11c26b6
2020-07-23 17:27:08 +02:00
Dean Lee c95063426a fix buffer overflow (#1871)
old-commit-hash: c788aa99dd
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: 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