Commit Graph

257 Commits

Author SHA1 Message Date
martinl
6a000279ad Add preglobal Subaru Forester and Outback (#1993)
* Add preglobal Forester and Outback

* Tests and values cleanup

* Update units in carstate

* Remove ()

* Add OUTBACK_PREGLOBAL_2018 to non_tested_cars

* Add replay route for OUTBACK_PREGLOBAL_2018
old-commit-hash: c9adc4900b
2020-08-10 12:31:40 -07:00
xps-genesis
83ae9ef377 Car Port: Hyundai Genesis G70 2018 (#2000)
* Car port Genesis G70

* Car port G70

* rebase

* update G70 car port

* Update README.md

* no space

* rebase mistake

* Update values.py

* Update values.py

* Update values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a16a948f9e
2020-08-08 22:20:25 -07:00
Adeeb Shihadeh
37f8ca00aa Improve CPU usage test reliability (#2002)
* run phone tests in parallel

* better cpu test

* re-enable test

* no root

* terms version

* not one

* yes

* debug

* that's coverd by min cpu percent
old-commit-hash: ecf0a8c8d4
2020-08-08 20:59:32 -07:00
Adeeb Shihadeh
755c21f05c update_ci_routes.py: upload route by arg
old-commit-hash: cea8b9e67a
2020-08-08 14:30:31 -07:00
Adeeb Shihadeh
c4ce441026 Remove non-SCC Hyundai Kona port (#1997)
old-commit-hash: 5e82578a1b
2020-08-08 11:48:16 -07:00
martinl
0aeae7d81e Subaru pre-global: add support for Subaru Legacy 2015-18 (#1805)
* Add support for Subaru Legacy 2015-18

* syntax fix

* Add Legacy 2018 FPv1

* Add Subaru Ascent from upstream

* Use GLOBAL_CAR and LEGACY_CAR lists

* Change LEGACY_2015 to LEGACY_PREGLOBAL

* Add LEGACY_CAR to carstate

* Change LEGACY_2015 to LEGACY_PREGLOBAL in test_car_models

* Add missing SafetyModel to Ascent

* Use GLOBAL_CAR and LEGACY_CAR to set safetyModel

* Change LEGACY_CAR to PREGLOBAL_CARS, remove GLOBAL_CAR

* Fix PREGLOBAL_CARS in carstate and subarucan

* Minor cleanups

* Add accelCruise button event

* Change Preglobal Driver Torque limit to match Global

* Match comments to upstream

* Use Steer_Warning and Steer_Error_1 only for Global

* Change mph units to match upstream values

* Increase Preglobal brakePressed  threshold to 2

* Add DashcamOnly to LEGACY_PREGLOBAL

* Fix typo in variable name

* Update README, add create_preglobal_steering_control

* cleanup carcontroller

* cleanup values

* missed that one

* Update STEER_STEP

* Update STEER_MAX

* Add preglobal signal frequency checks

* remove PREGLOBAL_CARS from subarucan

* Remove whitespace

* Use common frequency checks

* cleanup carstate

* cleanup subarucan

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e37b8e5d56
2020-08-06 21:55:13 -07:00
Adeeb Shihadeh
3dccc7fc2e Updater tests (#1974)
* refactor exit handling

* test update

* more reliable?

* better

* init git in CI

* testy tester

* CI should work

* test overlay reinit

* only one

* still need to fix loop test

* more patience

* more patience in CI

* no ping in CI

* this is cleaner

* need to run these in jenkins

* clean up

* run in jenkins

* fix test file path

* it's a git repo now

* no commit

* reinit

* remove duplicate

* why not git

* la

* git status

* pythonpath

* fix

* no CI fro now

* check overlay consistent

* more tests

* make more changes in the update commit

* sample

* no k
old-commit-hash: fe18a014c7
2020-08-06 21:49:05 -07:00
HaraldSchafer
388274d494 Track calib spread (#1988)
* add calib spread metric

* add field

* needs to be array

* update refs

* log valid blocks too

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d097abeb21
2020-08-06 14:47:17 -07:00
Adeeb Shihadeh
fd1078a548 second segment is ok for car unit tests
old-commit-hash: c8f5281c4d
2020-08-06 14:34:42 -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: 1e44b99478
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: 6e1bcdcb34
2020-08-02 15:45:41 -07:00
Adeeb Shihadeh
80b450e2a6 we have routes for these now
old-commit-hash: 433c9241f3
2020-08-02 15:25:09 -07:00
Adeeb Shihadeh
1644e81dfb Add frequency check to hyundai camera can parser (#1965)
old-commit-hash: e10376f1ae
2020-08-02 11:17:18 -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
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
fefe79bedb fail new car model unit tests if missing a test route
old-commit-hash: 63e4aeac9f
2020-07-28 23:37:53 -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
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
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
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
Adeeb Shihadeh
713da21faf add test route for HYUNDAI.KIA_SORENTO
old-commit-hash: 4bc90c578a
2020-07-23 15:44:14 -07:00
Adeeb Shihadeh
1618f87f5d add HYUNDAI_GENESIS test route
old-commit-hash: f753ca14ad
2020-07-23 13:24:06 -07: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
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
ZwX1616
556752a77b Revert "EfficientNet driver monitoring (#1866)"
This reverts commit 0bc9d737dde1a50937d421f7a417260732f90480.

Need to fix test

old-commit-hash: c2be31c10b
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: 2d0e994674
2020-07-17 15:34:02 -07:00
Adeeb Shihadeh
c374f03187 Revert modeld vipc conflate behavior and alert on dropped frame percent (#1877)
* Revert "Fix modeld dropping frames if processing takes over 50 ms"

This reverts commit fb908877a50d72e20a047bd4138316b12c8a30cc.

* track frame drop

* fix unused

* alert on frame drop perc

* reduce thresholds

* posenet is invalid on non-consecutive frames

* Refactor filter time constant

* Use vipc_dropped_frames for posenet valid check

* Actually set frame drop percentage

* Add explicit cast just to be sure

* Prevent frames dropped to go up to quickly on startup

* bump cereal

* reduce soft disable threshold to 1%

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 58c3b5ba84
2020-07-14 14:23:27 -07:00
Adeeb Shihadeh
76302a54dd clear scons cache dirs older than a day in CI
old-commit-hash: 897548c7ef
2020-07-10 17:18:52 -07:00
Adeeb Shihadeh
197e71d7bf update refs due to carParams.communityFeature change for sonata
old-commit-hash: 80aead479e
2020-07-10 12:01:29 -07:00
Andre Volmensky
a29579eae6 Nissan: Increase steer pressed threshold (#1833)
* Increasing steer threshold

* Update ref commit
old-commit-hash: 977a6ba46b
2020-07-09 13:50:50 +02:00
Adeeb Shihadeh
44afc4ae3c Build release2 and dashcam in CI (#1834)
* start building release2 in CI

* build script

* bring over changes from test branch

* fix build release test

* remove references to test branches

* ucnomment push

* fix duplicate remove

* two commits for dashcam

* need the key
old-commit-hash: c715661656
2020-07-07 14:17:09 -07:00
Adeeb Shihadeh
86200a6d6e Separate scons cache by branch (#1836)
* separate scons cache by branch

* debug

* guess you can only call CacheDir once

* remove another call

* pass git branch and commit through

* copytree

* set CI
old-commit-hash: d8ff186545
2020-07-07 12:36:02 -07:00
Adeeb Shihadeh
b4978bafc9 Revert "build script", should've been on branch
This reverts commit 66c6a7a32a4301a4599b119098f45da04dddee46.

old-commit-hash: 6b942c94de
2020-07-06 20:16:16 -07:00
Adeeb Shihadeh
466ed6ac10 build script
old-commit-hash: 975ab40786
2020-07-06 20:15:38 -07:00
Adeeb Shihadeh
ed5cf1fd8c show current sound name during sound test
old-commit-hash: fd504aa3f2
2020-07-06 19:43:42 -07:00
Adeeb Shihadeh
0d79150606 Sound test (#1820)
* WIP sound test

* it does something

* refactor

* phone only

* update release files

* test sound card init

* add to CI

* check writes

* increase time

* unused

* only build cereal

* small tolerance

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f1afb3e3ae
2020-07-05 17:56:24 -07:00
Adeeb Shihadeh
80024996e2 increase jenkins timeout
old-commit-hash: 3f57b7ee76
2020-07-03 20:34:31 -07:00
Adeeb Shihadeh
de457fddc2 On-device CI framework (#1784)
* let's see if this works

* fix build_release actions job

* does jenkins like this config

* separate jenkinsfile for release build

* fix devel build

* devel build should work

* always pass that for now

* run modeld replay

* release2 build will be a separate PR

* pass env to phone shell

* force checkout

* run on real jenkins eons

* add timeout

* rsync

* more timeout

* trailing slash

* fix branch detection

* debug

* not sure why paramiko doesn't pass it through

* newline

* CI_PUSH

* still not passing it

* test branch

* should be good now
old-commit-hash: 32f03ec8a5
2020-07-03 19:12:05 -07:00
Adeeb Shihadeh
f74865bedf Refactor CPU usage test (#1802)
* pull CPU usage test out of manager

* remove that

* add to release files

* cleanup

* executable

* this should work

* check if car started procs are running

* debug

* add min cpu usage

* remove debug prints

* adjust min cpu threshold

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6db7fa8c03
2020-07-03 15:40:13 -07:00
martinl
dfee3692f6 Support for 2019 Subaru Ascent (#1801)
* Add support for Subaru Ascent 2019

* remove duplicate safetyModel

* Add Ascent 2019 to README.md
old-commit-hash: b1abf17752
2020-07-01 16:54:40 -07:00
Adeeb Shihadeh
414a3400bd remove duplicate key
old-commit-hash: 3c48b5a3ed
2020-06-29 15:05:47 -07:00
Adeeb Shihadeh
a94bb2bcff update replay segment
old-commit-hash: 9fb4eeea96
2020-06-26 20:28:59 -07:00