Commit Graph

1968 Commits

Author SHA1 Message Date
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: a7ee2a53a8a832f3678171403471380a9a72b9cb
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: f80acad519d5edb8dc7bbcf881490f6f2e0f72fc
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: 80acb328252d8ed80c18a98457c6d788073ed26e
2020-07-31 23:14:31 +02:00
Harald Schafer c199717a71 dont init sound
old-commit-hash: 0a01d88139dd35cd4d979dbac78e2f0ff69a7664
2020-07-31 13:11:59 -07:00
Adeeb Shihadeh 11d808c89d fix locationd profiling
old-commit-hash: 1d7f4bc3b19d38464513c377511836221f77a95a
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: 8e2d344135b9a1102503432d651e6bf599d9fa42
2020-07-30 15:33:22 -07:00
Adeeb Shihadeh 51c3619f99 add locationd, paramsd, dmonitoringd to CPU usage script
old-commit-hash: 4658df7a668fc5565d2f4665523586ffdc8a5373
2020-07-30 15:28:58 -07:00
Adeeb Shihadeh ec00375a96 bump panda
old-commit-hash: c1f8de9c9a2c45b14656b5d9d848409a512fbf8c
2020-07-29 11:35:18 -07:00
Harald Schafer 83d0176e32 not useful
old-commit-hash: b467f5777b544a53c7801ee5e0d00b366e5a089b
2020-07-29 10:21:44 -07:00
Adeeb Shihadeh 224b7fd34b Remove get_one_can from messaging (#1946)
* move get_one_can into openpilot

* bump cereal
old-commit-hash: 714f8c3f0bf8fa98a4619763d46ecb3ea29bc9f6
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: 63e4aeac9f63fac4ab7679766ac2e655c1e98a8c
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: 9853b5b1dfff60afdadb95aebe5ad5b23d09a3b1
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: acb25751b75059a6e212192064528afe0ebd5e03
2020-07-28 18:41:39 -07:00
Adeeb Shihadeh 59ade6c2f6 can't directly access sockets anymore
old-commit-hash: 6acda96a163ad77f2f0b283712ac79b3d3d90d54
2020-07-28 18:37:16 -07:00
Harald Schafer 82691a0427 needed in pipeline
old-commit-hash: e03f9d7c7370ead66acf84e27e8361c6fd453379
2020-07-28 15:12: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: 2e59349b2e4bda54942cb96ba6bba9661ee89b4b
2020-07-28 11:15:16 -07:00
Dean Lee b35f7909ba UI cleanup (#1941)
* remove unused variables

* remove unused variables
old-commit-hash: 2953ae28104c3ccde59a7659c25b853ea0421adc
2020-07-28 11:13:37 -07:00
Adeeb Shihadeh 10d36921c7 start 0.7.8 release notes
old-commit-hash: 02dfd4ca265bdb39fef48832e82ba1d0861faf6e
2020-07-27 21:29:20 -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: 2cfa0edb4ccc0f17fd926835de8fb966dd4d9fc3
2020-07-27 20:22:06 -07:00
Shane Smiskol d9e9e7a23b Update TOTAL_SCONS_NODES (#1938)
old-commit-hash: 247ec73370a2a4675e6abd7bd25510990bbca6ae
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: 5453d8dd302918bf1aa71c46cb067489b2f37a03
2020-07-27 15:59:59 -07:00
Adeeb Shihadeh 40a9160084 remove dead lines from boardd cython setup
old-commit-hash: 967c1f1565fb72b462542748a83a2f9d05d8a18d
2020-07-27 13:09:09 -07:00
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