Commit Graph

427 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh
7f16554ee3 Check panda safety against CarState (#1995)
* check panda safety against CarState

* filter out bad honda routes

* bump a bit more
2021-04-25 15:32:05 -07:00
Adeeb Shihadeh
b0503e534a Hyundai: add BSM detection (#20747)
* Hyundai: add BSM detection

* update refs
2021-04-25 13:12:03 -07:00
Adeeb Shihadeh
6c7ed8f2e4 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
2021-04-25 12:52:16 -07:00
Joost Wooning
d2a2ccfee4 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>
2021-04-22 17:55:41 -07:00
ZwX1616
3692bb83b3 fix sound test after alert change 2021-04-21 15:12:04 -07:00
Adeeb Shihadeh
836668f105 less harsh steering unavailable alert when overriding (#20718)
* less harsh steering unavailable alert when overriding

* just steer

* 1s

* orange

* update refs
2021-04-20 21:01:28 -07:00
Willem Melching
aae849ea45 Use cached fw query in process replay (#20709)
* use fw query in process replay

* update ref

* only for supported cars
2021-04-20 14:01:59 +02:00
Joost Wooning
3420707ad5 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
2021-04-20 11:56:43 +02:00
Willem Melching
e2e2587e00 50% is more realistic for controlsd 2021-04-19 17:53:28 +02:00
Joost Wooning
ff813b6b45 Add flag to process replay config to use real submaster (#20701) 2021-04-19 17:27:36 +02:00
Willem Melching
b3d1ef77ee tici bump loggerd cpu usage 2021-04-15 13:11:24 +02:00
Willem Melching
8eaf3d2410 tici test onroad, increase camerad cpu usage 2021-04-15 11:24:17 +02:00
Willem Melching
343fea2bf9 Fix typo in ephemeris parsing (#20677)
* fix typo in ephemeris parsing

* update ref
2021-04-14 11:25:43 +02:00
mahlzeit1948
f6d800a89e Fix Chrysler Pacifica weight (#20647)
* Update interface.py

2858 is the gross vehicle weight of the hybrid (maximum weight of vehicle + cargo).
Curb weight for the ICE is 1964 kg, for the hybrid it is 2242 kg

* hybrid & update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-04-11 17:18:31 -07:00
Adeeb Shihadeh
01dc011f9f more tici CI coverage (#20639)
* run onroad test in tici

* run in jenkins

* no /data/media

* doesn't exists there yet

* more updates

Co-authored-by: Comma Device <device@comma.ai>
2021-04-11 15:56:17 -07:00
HaraldSchafer
0e10b74a61 MPC retune for laneless fix (#20616)
* was making wrong policy more aggresive

* allow to be set from simulator

* update refs

* put params together
2021-04-08 12:56:47 -07:00
Willem Melching
c4e2d374c9 More encoder test cleanup (#20623)
* more encode test cleanup

* fix check at end of function
2021-04-08 17:48:57 +02:00
Joost Wooning
e6a8157916 locationd and paramsd using cython version of ekfsym (#20610)
* Locationd live_kf using c++ kalman filter

* use both cpp and python live_kf to compare

* Locationd using ekfsym cpp

* Paramsd using c++ ekf_sym

* Other building method

* Cleanup

* cleanup

* Single sconscript for rednose and locationd/models

* CI

* CI

* CI fix

* renamed scons config

* Fix lib loading

* bump rednose

* update cpu usage test
2021-04-08 13:09:11 +02:00
Adeeb Shihadeh
2fa1b2572d Alerts update (#20567)
* steer temp unavailable should be a soft disable

* no mute

* these should be no entries

* sound

* better name

* deprecated

* make vehicleModelInvalid a soft disable

* update refs

* bump cereal

* bump cereal

* update refs
2021-04-07 12:18:58 -07:00
Willem Melching
ae094042ad add putBool/getBool wrappers to cython params class (#20611)
* add putBool/getBool wrappers to cython class

* use new API

* some more puts

* fix mockparams arguments

* add get_bool to MockParams

* typo
2021-04-07 15:36:37 +02:00
Willem Melching
1c824ba2c5 fix profiler after adding avg freq check 2021-04-07 15:10:24 +02:00
HaraldSchafer
d72d433ec7 no heading cost (#20594)
* no heading cost

* live mpc weight config

* need to add stds

* make work on empty data

* no divide by 0

* update refs

* update model replay

* update proc replat

* new model replay ref
2021-04-06 23:49:29 -07:00
Adeeb Shihadeh
2319d726fb lower min lane change speed to 30mph (#20586)
* lower min lane change speed to 30mph

* update refs
2021-04-05 15:38:53 -07:00
vanillagorillaa
269d1c4ec7 Honda Ridgeline test route (#20570) 2021-04-02 21:59:28 -07:00
Adeeb Shihadeh
7e632900e5 cleanup car tests (#20562)
* cleanup test_car_models

* don't fail on that
2021-04-01 16:46:08 -07:00
Adeeb Shihadeh
25837cfb86 CI: clear stale build cache 2021-04-01 15:02:26 -07:00
vanillagorillaa
1f968521e4 Toyota Mirai TSS2.5 Port (#20534)
* Mirai TSS2 initial commmit

* Clean up

* proper formatting of FW versions

* Mirai test route

* Just Mirai
2021-03-31 11:10:15 -07:00
Jason Young
48fa8ffb33 VW MQB: Update to Audi A3 Mk3 (#20489)
* Add A3 and A3 e-tron FPv2

* Update README

* Catch up with model renaming

* Trim duplicate FW values

* Add 2014 A3 (bankster)

* Update model-year range

* Revert more model name changes

* Revert more model name changes

* More FW for 2017 A3 e-tron (fastzeek)

* Update A3 models and packages in README

* Update A3 packages again

* AUDI_A3 -> AUDI_A3_MK3

* Update test route reference

* CAN valid should pass for VW now

* Update process_replay route

* Expand tested A3 range (we have known 2014-15,17)

* Revert "CAN valid should pass for VW now"

This reverts commit 73a4b4886f572045ada05cd13e60790ca3e17a94.

* revert route changes and update refs

* update refs again

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-30 14:49:46 -07:00
Jason Young
e181fd7f0a VW MQB: Misc bugfixes and cleanup (#20540)
* Add LDW->SWA signal pass-through

* GC currently unused ACC_06 and LDW_02 signal data

* Split out Jetta GLI

* Pass in camera CAN parser now that we use it

* GC unused CarController param, camelCase->PEP8

* CAN valid should pass for VW now

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-30 13:59:17 -07:00
ZwX1616
0fb00e10b1 also use e2e model output for DM policy (#20526)
* neg mining

* clean up format

* eyes less noisy

* update ref
2021-03-29 19:41:27 -07:00
Jason Young
9c0bd99a4d VW MQB: Update to Volkswagen Golf Mk7 (#20498)
* Import all Golf FW values, update naming

* Update test reference drive

* Update supported years and models

* Sort and dedupe Golf SRS and fwdRadar FW

* Add 2016 Golf SportsVan (Calle), sort FW values

* Expand README to include all Golf variants

* Alphabetize README
2021-03-28 21:04:51 -07:00
Adeeb Shihadeh
08a294199e temporarily tolerate higher UI cpu usage in test 2021-03-26 17:32:59 -07:00
Jason Young
85d0d521bd VW MQB: Škoda Superb Mk3 (#20500)
* Add 2018 Skoda Superb (johndoe)

* Propitiate test_fw_fingerprint unit test
2021-03-26 16:42:39 -07:00
Willem Melching
6e57fb3767 Revert "temporarily increase ui cpu allowance"
This reverts commit 2b2d868c86.
2021-03-26 17:29:53 +01:00
Willem Melching
2b2d868c86 temporarily increase ui cpu allowance 2021-03-26 17:07:33 +01:00
Jason Young
5da6fced2b VW MQB: Volkswagen Passat Mk8 (#20493)
* Add VW Passat

* Add Passat legacy FP

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-03-26 15:03:41 +01:00
Jason Young
9ef0eee6b1 Add 2020 Skoda Scala (#20494)
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-03-26 15:02:29 +01:00
Jason Young
32b59ba114 VW MQB: SEAT Ateca Mk1 (#20492)
* Add SEAT Ateca

* Add test route for Ateca

* Add Ateca to README

* Pull unnecessary comments
2021-03-26 15:01:31 +01:00
Jason Young
c253554b35 VW MQB: VW Jetta Mk7, Škoda Kodiaq Mk1 (#20487)
* Add VW Tiguan (jyoung8607)

* Update README and test_processes

* Moving test route to correct place

* Moving test route to correct place

* Fix candidate expression

* Add ignored fingerprints list

* Yo dawg I heard you like fingerprints..

* Support for Jetta, Passat, Kodiaq

* Add support clarity for MQB vs NMS Passat

* Remove Passat till we get a route

* Remove fwdRadar dupe FW

* fp

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-25 23:34:20 -07:00
Jason Young
430951e1cd VW MQB: Volkswagen Tiguan Mk2 (#20484)
* Add VW Tiguan (jyoung8607)

* Update README and test_processes

* Moving test route to correct place

* Moving test route to correct place

* Fix candidate expression

* Add ignored fingerprints list

* Yo dawg I heard you like fingerprints..
2021-03-25 21:48:14 -07:00
Adeeb Shihadeh
e76c80ffa1 APK purge (#20446)
* purge begins

* release files

* remove those

* no more android

* only qt

* text and spinner

* neos update script

* update sounds

* update cpu usage

* all done

Co-authored-by: Comma Device <device@comma.ai>
2021-03-24 14:30:41 -07:00