Commit Graph

468 Commits

Author SHA1 Message Date
Willem Melching
6fe7fcd6e9 Ensure Athena is not running during onroad tests (#21088)
* ensure Athena is not running during onroad tests

* do from unittest
2021-05-31 14:55:20 +02:00
Adeeb Shihadeh
8fbfa63824 test model timings in CI (#21075)
* test model timings in CI

* fix model packet name
2021-05-30 14:10:29 -07:00
ShaneSmiskol
f50a13035a Add missing Chrysler routes (#21074)
* Add missing Chrysler models

* always skip problem chryslers for now (above 150 threshold)

* test if chrysler or jeep

* use carName...properly!
2021-05-29 00:02:04 -07:00
ShaneSmiskol
4605625960 Add some missing Hyundai routes (#21072)
* Add Forte route

* All other Hyundai are mia
2021-05-28 23:25:46 -07:00
Adeeb Shihadeh
cf6d133638 fix up model tests + tools (#21071)
* unlogger: send yuv stream

* fix up model test tools

* fix unlogger

* rename model replay

* bump cereal

* test in actions

* no ci for now
2021-05-28 23:08:08 -07:00
ShaneSmiskol
1626017a4d Update Honda Fit route (#21065)
* print which car is causing issues, can't reproduce locally

* debug

* Update Fit route

* are there any counter fails now?

* revert
2021-05-28 18:01:01 -07:00
Jason Young
34b6c56021 VW MQB: SEAT Leon Mk3 (#21048)
* Add 2020 SEAT Leon (exclamation point ai)

* Add SEAT Leon to README

* Fix Leon model-year

* Add SEAT Leon test route

* thanks me!
2021-05-28 13:53:50 -07:00
ShaneSmiskol
e7afb26203 Clean up test_routes file (#21056)
* remove no enableCamera routes and add to missing

* use a named tuple

* split makes by \n, fix reference to routes

* Update selfdrive/test/test_routes.py

* Update selfdrive/test/test_routes.py

* Update selfdrive/test/test_routes.py

* Update selfdrive/test/test_routes.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-27 15:29:48 -07:00
ShaneSmiskol
997319fac1 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>
2021-05-27 12:20:14 -07:00
Jason Young
4de1655d20 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
2021-05-26 17:08:33 -07:00
Adeeb Shihadeh
21d4f8743a clear more big dirs on jenkins devices 2021-05-25 11:44:49 -07:00
Adeeb Shihadeh
e5575a6a4c Remove ignored CAN fingerprints (#20994)
* VW is all FW

* fix test

* toyota

* honda

* hyundai

* remove IGNORED_FINGERPRINTS

* toyota
2021-05-24 13:50:10 -07:00
brianhaugen2
6089c95a35 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>
2021-05-23 14:53:29 -07:00
Adeeb Shihadeh
4f4cb56de9 better scons cache handling (#20980)
* better scons cache handling

* nicer

* max size

* fast
2021-05-22 20:13:39 -07:00
HaraldSchafer
dc40631e97 Fix planner low speed behaviour (#20990)
* first point is 0

* first point is always now

* print replay diffs

* new ref

* changed wrong commit
2021-05-21 15:10:59 -07:00
Mitchell Goff
29cc3500a5 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
2021-05-19 22:30:23 -07:00
ShaneSmiskol
551091bcfa Deprecate brakeLights field (#20954)
* remove all references to CS.brakeLights

* unused red

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-18 17:48:02 -07:00
Cruise Brantley
42cd7b2b09 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
2021-05-18 15:52:22 -07:00
HaraldSchafer
2f80775b50 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>
2021-05-18 11:12:02 -07:00
Willem Melching
17c3220322 Rate limit paramsd angleOffset output (#20946)
* rate limit paramsd angle offset

* update ref
2021-05-18 12:59:42 +02:00
Willem Melching
2a05701f47 increase cloudlog size for uploader errors 2021-05-17 13:51:07 +02:00
grekiki
243bec3444 CI: Valgrind assert leaks (#20863)
* update with improvement to process replay

* reduce diff
2021-05-17 10:28:24 +02:00
HaraldSchafer
e5f93ef142 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
2021-05-14 15:23:27 -07:00
Willem Melching
38acef1c6a process replay: add timeout to C++ test in case of process crash (#20886) 2021-05-12 16:58:28 +02:00
Jason Young
cca887f195 VW MQB: Volkswagen Atlas Mk1 (#20881)
* Add support for VW Atlas

* Add test route for VW Atlas

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

* spacing and try to get CI to run
2021-05-09 11:54:22 +02:00
Adeeb Shihadeh
0148c24147 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>
2021-05-07 13:32:34 +02:00
Willem Melching
fc3da5eaf9 Use standstill flag in locationd (#20838) 2021-05-06 13:13:13 -07:00
Willem Melching
a0a1ed0cbc update test fuzzy 2021-05-06 19:27:58 +02:00
Willem Melching
5856d7d549 C++ Process Replay improvements - Part 2 (#20839) 2021-05-06 14:31:03 +02:00
Willem Melching
e9db5723ef 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>
2021-05-06 11:01:58 +02:00
Adeeb Shihadeh
930fe1a5ea add jeep grand cherokee test route (#20835) 2021-05-05 21:58:19 -07:00
Willem Melching
b2b7cb387a hypothesis: only generating valid data works better for test case reduction 2021-05-05 18:20:14 +02:00
Willem Melching
0c29adcc76 hypothesis: speed up test case reduction 2021-05-05 18:06:37 +02:00
Willem Melching
32fa26075f speed up fuzzing by sending SIGKILL when done 2021-05-05 17:27:30 +02:00
Willem Melching
d96edb6817 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
2021-05-05 17:14:29 +02:00
Willem Melching
33edb62967 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
2021-05-05 13:25:29 +02:00
xps-genesis
1e473d764a 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>
2021-05-04 20:37:39 -07:00
Adeeb Shihadeh
b4447993c1 add CLEAR_ON_IGNITION param type (#20810) 2021-05-04 11:32:40 -07:00
Willem Melching
7a8f61f4bf 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
2021-05-04 09:24:24 -07:00
Adeeb Shihadeh
0b26b08a7c CI: clear qcom replay build cache 2021-05-03 22:02:13 -07:00
HaraldSchafer
daecf4247b Revert "Locationd 100hz (#20759)" (#20797)
* Revert "Locationd 100hz (#20759)"

This reverts commit 333313cf0e.

* new ref
2021-05-02 15:06:34 -07:00
Shane Smiskol
5f61cd0531 Update route for 2017 Corolla (#20793) 2021-05-02 00:05:59 -07:00
Adeeb Shihadeh
f9a961f6fb 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>
2021-04-30 13:55:17 -07:00
Goesreallyfast
68e2c65b1a LEXUS NX 300 2020 Car Port (#20769) 2021-04-28 19:28:29 -07:00
Adeeb Shihadeh
ee5bbcb53c update test routes (#20772) 2021-04-28 17:19:58 -07:00
HaraldSchafer
333313cf0e 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
2021-04-28 15:29:14 -07:00
Adeeb Shihadeh
42af09b15b clear scons cache more aggressively 2021-04-27 19:16:03 -07:00
Adeeb Shihadeh
c45dbbc737 fix process replay on local files (#20758) 2021-04-26 20:50:47 -07:00
Adeeb Shihadeh
754c6f4e62 check cloudlog volume (#20753)
* check cloudlog volume

* adjust threshold

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
2021-04-26 13:55:02 -07:00