Commit Graph

1458 Commits

Author SHA1 Message Date
ShaneSmiskol c2b41b8b55 Add missing Hondas and Toyotas to tests (#21044)
* Add new route for Acura ILX

* Add Lexus RXH

* Add CRV Hybrid route

* Add Insight route

* update sync script

* Add Avalon route with rlogs

* Update CRV route

* Update Pilot 2019 route

* Add Camry Hybrid 2018 route

* Add 2017 Highlander

* Add 2018 Highlander Hybrid

* Add TSS2 Highlander Hybrid

* Add Accord Hybrid

* Repalce old Accord

* Update Lexus RXH route with logs, CHR+H, skip Avalon for now (fixup in another PR)

* Add CRV

* How did I miss this!

* add exception for CRV Hybrid

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 997319fac19836a6b528b5b0d73ba6dfe0e3fb7f
2021-05-27 12:20:14 -07:00
Jason Young f86abe47ce VW MQB: Škoda Octavia Mk3 (#21013)
* Add Skoda Octavia (cben, Saber422)

* Add Skoda Octavia to README

* Add to test_routes.py

* Remove non-viable test route

* Add test route for Octavia
old-commit-hash: 4de1655d20160f189181fe9f292b40d9e045061f
2021-05-26 17:08:33 -07:00
Adeeb Shihadeh fa82480042 clear more big dirs on jenkins devices
old-commit-hash: 21d4f8743adcef392e293e520e5db3d94f5ceec6
2021-05-25 11:44:49 -07:00
Adeeb Shihadeh e58a495396 Remove ignored CAN fingerprints (#20994)
* VW is all FW

* fix test

* toyota

* honda

* hyundai

* remove IGNORED_FINGERPRINTS

* toyota
old-commit-hash: e5575a6a4ccf1b43ba652ec7c3009d2389edac63
2021-05-24 13:50:10 -07:00
brianhaugen2 d36b821247 Car port: LEXUS UX 2019 (#20998)
* adding port for 2019 lexus ux 250h

* update README

* added route to test_routes

* added CAR.LEXUS_UXH_TSS2 to IGNORED_FINGERPRINTS
changed test route to a complete route (that will be uploaded)

* unused

* add fw

* forgot h

Co-authored-by: Brian Haugen <brian.haugen@toyota.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6089c95a35ed7fcbc93c6f0532c14aa36105fa00
2021-05-23 14:53:29 -07:00
Adeeb Shihadeh 884736efc2 better scons cache handling (#20980)
* better scons cache handling

* nicer

* max size

* fast
old-commit-hash: 4f4cb56de920f42cc8646ba569ef362910be6185
2021-05-22 20:13:39 -07:00
HaraldSchafer 8850151ddf Fix planner low speed behaviour (#20990)
* first point is 0

* first point is always now

* print replay diffs

* new ref

* changed wrong commit
old-commit-hash: dc40631e97739c8e55f271501b6356eda52d84ff
2021-05-21 15:10:59 -07:00
Mitchell Goff 78927e4ebb New model outputs (#20933)
* New model: 51a237cd-9c43-4281-9072-802325e6744d/950

* Added new meta outputs and proper interp for plan_t_arr

* Added meta-based trigger for FCW

* No nans in planner, separate alert for model FCW

* Cleaned up plan_t interp logic

* Added empty cameraError alert to fix unit tests

* Use the normal FCW event

* Updated filter logic

* Updated model replay ref

* Moved disengage predictions into their own cereal struct

* Updated model replay ref for new cereal structs

* Apparently this breaks stuff?

* Bumped cereal commit and model replay ref
old-commit-hash: 29cc3500a5161b4d2245b8d041f190533be4ee8e
2021-05-19 22:30:23 -07:00
ShaneSmiskol 0d45e6885a Deprecate brakeLights field (#20954)
* remove all references to CS.brakeLights

* unused red

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 551091bcfa46e50ef60dac3f3bdff299dba95f35
2021-05-18 17:48:02 -07:00
Cruise Brantley 8c61faf8ee 2021 Hyundai Elantra port (#20916)
* Elantra addition without fingerprint

* FPv1

* ignore fpv2 for fingerprint

* remove blank fpv2 troubleshooting

* FPV2

* missing commas

* added additional detected transmission

* Added to ignored fingerprints

* Test Route added

* Possible fixex for issues stated

* eps detected differently, added second detection

* Updated Naming
old-commit-hash: 42cd7b2b09ac161e956da6a6b101481e5b5dc8f7
2021-05-18 15:52:22 -07:00
HaraldSchafer c0c009bba9 Filter only initialized if up for 1sec (#20940)
* add time since reset check

* fix time since reset

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 2f80775b50174070ab463896e73bfef827d00516
2021-05-18 11:12:02 -07:00
Willem Melching 26f9d28532 Rate limit paramsd angleOffset output (#20946)
* rate limit paramsd angle offset

* update ref
old-commit-hash: 17c322032236a09eefc4224417ba0b163591da60
2021-05-18 12:59:42 +02:00
Willem Melching 6e4bb728da increase cloudlog size for uploader errors
old-commit-hash: 2a05701f47a89b2d92d3c5481ff5263f6aac678c
2021-05-17 13:51:07 +02:00
grekiki 490e977cda CI: Valgrind assert leaks (#20863)
* update with improvement to process replay

* reduce diff
old-commit-hash: 243bec3444d6c23db20944b67d5ccf44354f63bf
2021-05-17 10:28:24 +02:00
HaraldSchafer 8559ab5ebd Add ublox interference monitor (#20911)
* add interference monitor

* new thresholds

* correct labels

* always run for test

* new msg

* add flag

* Revert "always run for test"

This reverts commit b04b92ac2d73d996d1526509e26c4e1a4338cbbb.

* add hw status flags
old-commit-hash: e5f93ef142af706eed05f1d015e1436efa29d1de
2021-05-14 15:23:27 -07:00
Willem Melching 1f61e411f3 process replay: add timeout to C++ test in case of process crash (#20886)
old-commit-hash: 38acef1c6af274a3a187f51c5235e6158db704dd
2021-05-12 16:58:28 +02:00
Jason Young 7c60251654 VW MQB: Volkswagen Atlas Mk1 (#20881)
* Add support for VW Atlas

* Add test route for VW Atlas

* Add Atlas to README
old-commit-hash: cca887f195704a464c4443d204bab9b31e3d90d9
2021-05-11 15:00:31 -07:00
grekiki 5d6c3c6232 Valgrind test: fix output parsing when no leaks present (#20862)
* should work

* spacing and try to get CI to run
old-commit-hash: c6538e91b81c820580e6f403a49b0d4d81523472
2021-05-09 11:54:22 +02:00
Adeeb Shihadeh 916e019786 cleanup Honda car strings - part 2 (#20848)
* cleanup honda car strins

* fix process replay

* update ref

* forgot to build

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 0148c24147e05abe239fb5423a79ad517d29884c
2021-05-07 13:32:34 +02:00
Willem Melching 9cfda07c9e Use standstill flag in locationd (#20838)
old-commit-hash: fc3da5eaf9e9448825115e19dd59e1a2657ab249
2021-05-06 13:13:13 -07:00
Willem Melching a2100c96ce update test fuzzy
old-commit-hash: a0a1ed0cbca05d225cdcd43383a93a6b330b50e6
2021-05-06 19:27:58 +02:00
Willem Melching 5a983be249 C++ Process Replay improvements - Part 2 (#20839)
old-commit-hash: 5856d7d549c464481fe25353b9c9017c5c480d95
2021-05-06 14:31:03 +02:00
Willem Melching b4263a43fc Locationd 100 Hz (#20816)
* fix std transform

* 100Hz

* new ref

* no more decimation

* clean up confusing maths

* static typing

* Revert "static typing"

This reverts commit 23d87337de648e629fbd35dd8c04a740bbefca47.

* 100Hz costs more

* move normalization into core

* add quat idxs

* add big eps

* this is not safe in the filter

* more sensible

* updates to rednose

* not tested

* normalize in python too

* update rednose

* nan check

* check for infs too

* all should be finite

* update ref

* rednose pr now in master

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: e9db5723ef348954118643501a92cf0715402fea
2021-05-06 11:01:58 +02:00
Adeeb Shihadeh 01f1d04f98 add jeep grand cherokee test route (#20835)
old-commit-hash: 930fe1a5eaa3c0f18622dc5e4b593d18cfc25343
2021-05-05 21:58:19 -07:00
Willem Melching 4600574d1d hypothesis: only generating valid data works better for test case reduction
old-commit-hash: b2b7cb387aead67bf38c66ca2cd14dd65f118ef3
2021-05-05 18:20:14 +02:00
Willem Melching 1acc570a4f hypothesis: speed up test case reduction
old-commit-hash: 0c29adcc76ce115cc5c490595d15148810b35d30
2021-05-05 18:06:37 +02:00
Willem Melching 36534127aa speed up fuzzing by sending SIGKILL when done
old-commit-hash: 32fa26075fa88598373de86e3c355bf70adc5b78
2021-05-05 17:27:30 +02:00
Willem Melching fa3cd32780 C++ Process replay improvements - Part 1 (#20828)
* C++ Process replay improvements

* revert that change

* create publisher before subscribers

* dont block forever, print warning

* add comment

* create sockets after process init

* try once more to receive the message

* SIMULATION env variable

* print message num when no response
old-commit-hash: d96edb68177ccbcf60a21b81ed1c0815f306efbc
2021-05-05 17:14:29 +02:00
Willem Melching b3838fb91e hypothesis fuzz testing (#20818)
* add hypothesis testing

* cleanup

* some cleanup

* check for infinity too

* one-liner

* add more fields that are used

* no print

* add locationd testing

* sensor timestamp is signed

* recursive finite checking

* keep locationd inputs finite for now

* specify proces name on command line

* increase timeout and add raw speed

* abstract runner in function

* add unittest class
old-commit-hash: 33edb629679ebf66b1cf7fe3dc5b75ff40dfe424
2021-05-05 13:25:29 +02:00
xps-genesis ba5898bed4 Chrysler BSM info signal (#20694)
* Chrysler BSM info signal

* change to ==1

* add checks to enable bsm

* add fingerprint can id for enableBsm

* gate behind enableBsm

* fix indenatation

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1e473d764a26e923bdba86879f317ab2d6c6d96c
2021-05-04 20:37:39 -07:00
Adeeb Shihadeh 88434dc9e4 add CLEAR_ON_IGNITION param type (#20810)
old-commit-hash: b4447993c10b36628cb72b58dba8104c9060bb7f
2021-05-04 11:32:40 -07:00
Willem Melching 2c8e65a90d Remove unnecessary trim levels from car name (#20815)
* remove unnecessary trim levels from car name

* remove hardcoded strings

* fix process replay

* more fixes

* fix migration

* update ref
old-commit-hash: 7a8f61f4bf83d18d2fca5fd42eb2d24849d3e58f
2021-05-04 09:24:24 -07:00
Adeeb Shihadeh f009cf1373 CI: clear qcom replay build cache
old-commit-hash: 0b26b08a7c40cb58c9574f4df7db0e854341e3ed
2021-05-03 22:02:13 -07:00
HaraldSchafer fd28911282 Revert "Locationd 100hz (#20759)" (#20797)
* Revert "Locationd 100hz (#20759)"

This reverts commit 995b89e6424a7b717fb2c725a64d617fb24a1a85.

* new ref
old-commit-hash: daecf4247be74fbe56ae84b4c6585c4c8cbc49b5
2021-05-02 15:06:34 -07:00
Shane Smiskol 1846ddbc14 Update route for 2017 Corolla (#20793)
old-commit-hash: 5f61cd0531d6fc2d9280b1964a3407e25e2c2d27
2021-05-02 00:05:59 -07:00
Adeeb Shihadeh ec7913cbe5 delay controls start (#20761)
* delay controls start

* shouldn't need this stuff anymore

* only delay board

* bail after 2s

* fix loopback test

* fix process replay

* update refs

* bump cereal

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f9a961f6fb69f36f8a113246920b2d71e6af8ae1
2021-04-30 13:55:17 -07:00
Goesreallyfast 4b26364439 LEXUS NX 300 2020 Car Port (#20769)
old-commit-hash: 68e2c65b1aff2aa45ac26d62dc1c420202b3d508
2021-04-28 19:28:29 -07:00
Adeeb Shihadeh caccd0f239 update test routes (#20772)
old-commit-hash: ee5bbcb53cb03f2c159fccd4350d70ccd810436d
2021-04-28 17:19:58 -07:00
HaraldSchafer cbc2cb24b7 Locationd 100hz (#20759)
* fix std transform

* 100Hz

* new ref

* no more decimation

* clean up confusing maths

* static typing

* Revert "static typing"

This reverts commit 23d87337de648e629fbd35dd8c04a740bbefca47.

* 100Hz costs more
old-commit-hash: 333313cf0e6819767d8dcc4a55bea70f0354579f
2021-04-28 15:29:14 -07:00
Adeeb Shihadeh 13dbb65b98 clear scons cache more aggressively
old-commit-hash: 42af09b15b873981682b17e3145b59283a901981
2021-04-27 19:16:03 -07:00
Adeeb Shihadeh 9531bf9d88 fix process replay on local files (#20758)
old-commit-hash: c45dbbc737c95a68de3b1f9c1bc6b1e08a23cb36
2021-04-26 20:50:47 -07:00
Adeeb Shihadeh 0e6c74c4a1 check cloudlog volume (#20753)
* check cloudlog volume

* adjust threshold

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 754c6f4e62b3be6067521f5db7497b4b6383aa17
2021-04-26 13:55:02 -07:00
Adeeb Shihadeh 5eb4b526c4 Check panda safety against CarState (#1995)
* check panda safety against CarState

* filter out bad honda routes

* bump a bit more
old-commit-hash: 7f16554ee3eac009d626eb555f52c1b2e1caf4e6
2021-04-25 15:32:05 -07:00
Adeeb Shihadeh b2d4441cff Hyundai: add BSM detection (#20747)
* Hyundai: add BSM detection

* update refs
old-commit-hash: b0503e534ac4e515af2c82294a387f0ca405f13c
2021-04-25 13:12:03 -07:00
Adeeb Shihadeh 7546f7d084 enforce message checks in can parser (#20742)
* enforce message checks in can parser

* nissan

* vw

* hkg

* subaru

* toyota

* honda bosch

* gm

* honda nidec

* bump opendbc

* not all tss2 have bsm

* toyota fixes

* honda fixes

* vw fix

* fix subaru

* fix long tests

* update refs

* crv bsm
old-commit-hash: 6c7ed8f2e4a3769c12e61be57e802920b84dcc29
2021-04-25 12:52:16 -07:00
Joost Wooning 5b31cc281c compare carspeed float to epsilon instead of zero (#20714)
* compare carspeed float to epsilon instead of zero

* update ref

* add ref commit again

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: d2a2ccfee45fdf94425354efbfd17fabce4cb5e7
2021-04-22 17:55:41 -07:00
ZwX1616 dcca2f2369 fix sound test after alert change
old-commit-hash: 3692bb83b3402f660125e27bc218e42811f801d4
2021-04-21 15:12:04 -07:00
Adeeb Shihadeh cc29fdfed2 less harsh steering unavailable alert when overriding (#20718)
* less harsh steering unavailable alert when overriding

* just steer

* 1s

* orange

* update refs
old-commit-hash: 836668f1050e1dbc185af7d472e2016627711aeb
2021-04-20 21:01:28 -07:00
Willem Melching cca70e7b56 Use cached fw query in process replay (#20709)
* use fw query in process replay

* update ref

* only for supported cars
old-commit-hash: aae849ea45a71052252b36c5a524da067b6c30b0
2021-04-20 14:01:59 +02:00
Joost Wooning c0ac9bb63c convert locationd to c++ (#20622)
* live_kf to c++

* first locationd code

* Running in process_replay

* locationd handle cam_odo and live_calib

* log event handlers

* working message receiving

* compiling message sending

* correctly sending some messages

* correct receiving and sending

* update ref_commit with some all_alive_and_valid being false, minor fixes

* fix std abs

* linking on device fix

* fix cpu usage test

* generate kf constants and defines

* fix replay test

* replay without acks, cleanup

* operate on bytearray messages

* cleanup

* send msg fix

* small sleep, less flaky test

* remove python locationd

* review feedback

* bump rednose
old-commit-hash: 3420707ad58b060333246eb43db09474bb336d39
2021-04-20 11:56:43 +02:00