Commit graph

934 commits

Author SHA1 Message Date
Cruise Brantley 85fc85b3c8
Add Kia Stinger transmission FW version (#1975)
* new Stinger transmission fingerprint

* Formatting
2020-08-04 13:05:13 -07:00
Dean Lee 681ff41261
remove selfdrive/common/visionstream.c (#1931) 2020-08-03 17:04:47 -07:00
HaraldSchafer 490ee52687
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>
2020-08-03 15:51:56 -07:00
Adeeb Shihadeh 1208ac424d
Cleanup locationd msg building (#1972)
* cleanup locationd msg building

* remove that
2020-08-03 14:58:15 -07:00
Adeeb Shihadeh 1e44b99478
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
2020-08-02 18:11:42 -07:00
xps-genesis 6e1bcdcb34
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>
2020-08-02 15:45:41 -07:00
Adeeb Shihadeh 433c9241f3 we have routes for these now 2020-08-02 15:25:09 -07:00
Adeeb Shihadeh 059a27d126
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>
2020-08-02 15:19:27 -07:00
Adeeb Shihadeh e10376f1ae
Add frequency check to hyundai camera can parser (#1965) 2020-08-02 11:17:18 -07:00
Dean Lee 56e63bafa8
remove duplicate call to getDMonitoringState (#1964) 2020-08-02 10:55:24 -07:00
Adeeb Shihadeh 9ee1cc9b82
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
2020-08-02 00:30:09 -07:00
Adeeb Shihadeh e89b2b8453
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
2020-08-01 22:38:19 -07:00
Adeeb Shihadeh a7ee2a53a8
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
2020-08-01 17:26:35 -07:00
Dean Lee f80acad519
modeld: read frame_id if sm.update(0)>0 (#1947)
* read frameid if sm.update(0)>0

* move postion

same line
2020-08-01 11:01:43 -07:00
Willem Melching 80acb32825
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
2020-07-31 23:14:31 +02:00
Adeeb Shihadeh 1d7f4bc3b1 fix locationd profiling 2020-07-30 18:24:07 -07:00
HaraldSchafer 8e2d344135
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>
2020-07-30 15:33:22 -07:00
Adeeb Shihadeh 4658df7a66 add locationd, paramsd, dmonitoringd to CPU usage script 2020-07-30 15:28:58 -07:00
Adeeb Shihadeh 714f8c3f0b
Remove get_one_can from messaging (#1946)
* move get_one_can into openpilot

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

* update 1

* FP2 added

* spacing adjust

* missed a syntax
2020-07-28 20:22:43 -07:00
Adeeb Shihadeh acb25751b7 Revert "can't directly access sockets anymore", was supposed to be on branch
This reverts commit 6acda96a16.
2020-07-28 18:41:39 -07:00
Adeeb Shihadeh 6acda96a16 can't directly access sockets anymore 2020-07-28 18:37:16 -07:00
Shane Smiskol 2e59349b2e
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
2020-07-28 11:15:16 -07:00
Dean Lee 2953ae2810
UI cleanup (#1941)
* remove unused variables

* remove unused variables
2020-07-28 11:13:37 -07:00
ZwX1616 2cfa0edb4c
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>
2020-07-27 20:22:06 -07:00
Shane Smiskol 247ec73370
Update TOTAL_SCONS_NODES (#1938) 2020-07-27 18:23:38 -07:00
Adeeb Shihadeh 5453d8dd30
Add Lexus RX300 2019 FW (#1838)
* Add Lexus RX300 2019 fw

* build tmp branch

* Revert "build tmp branch"

This reverts commit e487ca1345.

Co-authored-by: VirtuallyChris <chrismccammon123@gmail.com>
2020-07-27 15:59:59 -07:00
Adeeb Shihadeh 967c1f1565 remove dead lines from boardd cython setup 2020-07-27 13:09:09 -07:00
Erich Moraga b677e89159
Local variable ARCH isn't used anymore (#1930) 2020-07-27 13:06:13 -07:00
Willem Melching 405d94ec6d qcom2 build fixes 2020-07-27 16:13:25 +00:00
Dean Lee 5cbdaa19bb
sidebar: remove unnecessary checks on uilayout_sidebarcollapsed (#1928)
* cleanup

* keep local variables

* done
2020-07-26 21:00:24 -07:00
Dean Lee cf1ae581ed
boardd: use enum instead of magic number (#1927) 2020-07-26 14:30:56 -07:00
Adeeb Shihadeh 360cd7d8a8 kia stinger: use hyundaiLegacy safety mode and add test route 2020-07-26 14:09:49 -07:00
Adeeb Shihadeh 892e1162c0
Car cleanup (#1924)
* cleanup car code

* more pruning

* little more

* less pylint disables

* radar stuff

* fix

* udpate refs

* fix honda bosch

* fix test
2020-07-25 15:07:27 -07:00
Adeeb Shihadeh 99106fd9c4
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
2020-07-25 02:27:56 -07:00
Adeeb Shihadeh 90fc1c6028
Improve on-device CI reliability (#1922) 2020-07-25 02:12:19 -07:00
Willem Melching e0e7c7486d
remove old params learner (#1918) 2020-07-24 18:43:17 +02:00
Comma Device 9a78378b81 add timeout on procLog socket for CPU usage test 2020-07-23 17:51:18 -07:00
Adeeb Shihadeh 02d5b19d4d update refs 2020-07-23 15:55:53 -07:00
xps-genesis 3a1b08eb9d
Use hyundai legacy safety for Kia Sorento (#1912)
confirmed kia sorento to use legacy safety checks
2020-07-23 15:45:19 -07:00
Adeeb Shihadeh 4bc90c578a add test route for HYUNDAI.KIA_SORENTO 2020-07-23 15:44:14 -07:00
Adeeb Shihadeh 61548f5a48
Only draw lead car indicators when controlling longitudinal (#1914) 2020-07-23 13:28:58 -07:00
Adeeb Shihadeh f753ca14ad add HYUNDAI_GENESIS test route 2020-07-23 13:24:06 -07:00
martinl a086f52881
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
2020-07-23 12:28:23 -07:00
Willem Melching 74f95b8b26 skip 1st segment in debug replay 2020-07-23 17:56:36 +02:00
Willem Melching 7a1e229a9a fix spinner 2020-07-23 17:51:45 +02:00
Erich Moraga 8f6ea69396
Add fwdCamera f/w for 2020 Corolla Hybrid ZR (AUS) (#1911)
@iamty#6048 DongleID c4bfe655c9130ba4
2020-07-23 17:32:16 +02:00
Dean Lee 1da11c26b6
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>
2020-07-23 17:27:08 +02:00
Dean Lee c788aa99dd
fix buffer overflow (#1871) 2020-07-23 15:52:59 +02:00