Commit Graph

10172 Commits

Author SHA1 Message Date
Adeeb Shihadeh b5fa861871 Cleanup updated (#1981)
* remove dead code from updated

* no short

* simpler

* simplify that

* move that into the class

* little more
old-commit-hash: f61dcb6e12447de7a84b547230b748b59b7424a4
2020-08-05 13:29:03 -07:00
Harald Schafer daf9176711 Revert "persist falling test"
This reverts commit 273f745ad5d1ce7e92ce24e8fa3b08895977dd5c.

old-commit-hash: 7032a40717f46675697f0ba049956a3e1788e6f6
2020-08-05 10:46:26 -07:00
Harald Schafer d252db9da9 persist falling test
old-commit-hash: 8cad9375d336ca5276f673296d0e64ff14efe0de
2020-08-05 10:44:40 -07:00
Dean Lee 1bc3801c9b Make sure memory is released by using unique_ptr (#1958)
old-commit-hash: ef435ef2ac14dd7f842d4f59909330ba57f6d177
2020-08-05 12:27:56 +02:00
Adeeb Shihadeh 0b64a13bc9 improve updated responsiveness (#1973)
old-commit-hash: 88c67e7e9f73ea5a0114b63598fd489a1e834a84
2020-08-04 13:48:19 -07:00
Cruise Brantley 7996e51de3 Add Kia Stinger transmission FW version (#1975)
* new Stinger transmission fingerprint

* Formatting
old-commit-hash: 85fc85b3c8e20d6b970e88774f84ac415c19f1ea
2020-08-04 13:05:13 -07:00
Dean Lee d4f99896e3 remove selfdrive/common/visionstream.c (#1931)
old-commit-hash: 681ff41261eddc0962c9346e8aa7a019e293d691
2020-08-03 17:04:47 -07:00
HaraldSchafer 122118ccd4 add fall filter and less FP on posenet (#1971)
* add fall filter and less FP on posenet

* add alert

* list

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 490ee5268712c38f738161cab939c02573581ebf
2020-08-03 15:51:56 -07:00
Adeeb Shihadeh f8e08fad90 Cleanup locationd msg building (#1972)
* cleanup locationd msg building

* remove that
old-commit-hash: 1208ac424d06e03da9f83fc1fa1824df7e32f80d
2020-08-03 14:58:15 -07:00
Adeeb Shihadeh dc5a5160d8 Add missing chrysler can parser checks (#1967)
* add missing chrysler can parser checks

* toyota

* toyota cam

* toyota freqs

* chrysler freqs

* doors

* just chrysler for now

* update refs

* update again
old-commit-hash: 1e44b99478e22d89e9b5077aa9e9d6b2aeee37dd
2020-08-02 18:11:42 -07:00
xps-genesis 5cecf53e5f Add Hyundai Veloster 2019 (#1955)
* Add Hyundai Veloster 2019

* Add Hyundai Veloster interface.py

* add route for Hyundia Veloster

* steer ratio fix

* Update interface.py

* new longer route

* space

* ignored fingerprint

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6e1bcdcb34d8361379cb2a21ea043ba331c3dabf
2020-08-02 15:45:41 -07:00
Adeeb Shihadeh 80b450e2a6 we have routes for these now
old-commit-hash: 433c9241f38d1167f0555e75902823b8a1f063be
2020-08-02 15:25:09 -07:00
Adeeb Shihadeh 904217b646 Update Hyundai DBC (#1968)
* update for new DBC update

* update to new DBC

* Ioniq uses SCC12. Ioniq EV lim uses FCA11

* update elect gear to EV_PC5 signal

* remove 'alt' from label

* revert

* update name to ev_pc5_gears

* update name to use_ev_pc5_gears

* Update values.py

* Update carstate.py

* bump opendbc

Co-authored-by: xps-genesis <65239463+xps-genesis@users.noreply.github.com>
old-commit-hash: 059a27d12697e48b10c00fc345812704d7ba4640
2020-08-02 15:19:27 -07:00
Adeeb Shihadeh 1644e81dfb Add frequency check to hyundai camera can parser (#1965)
old-commit-hash: e10376f1aead6db2a40aa367dfccbb7b184abbcd
2020-08-02 11:17:18 -07:00
Dean Lee 3e083c1074 remove duplicate call to getDMonitoringState (#1964)
old-commit-hash: 56e63bafa87995eb6795bd77df931a29bf89c684
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: 9ee1cc9b828e8018fa37443d90dba95f8a032260
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: e89b2b84534e76d8965b22d2aa7451984fbf7229
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: 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
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 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
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
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
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
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