Commit Graph

463 Commits

Author SHA1 Message Date
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
Willem Melching f93e09c03e 50% is more realistic for controlsd
old-commit-hash: e2e2587e00f80b941ee3588899c917d6d294db4c
2021-04-19 17:53:28 +02:00
Joost Wooning ff90b71c5c Add flag to process replay config to use real submaster (#20701)
old-commit-hash: ff813b6b45e6fb9fed39c2d76b0da84236f9b3d8
2021-04-19 17:27:36 +02:00
Willem Melching 128107c3d2 tici bump loggerd cpu usage
old-commit-hash: b3d1ef77eed68caafe3c3a6a74f0f1fa3e621969
2021-04-15 13:11:24 +02:00
Willem Melching 4e339db7e8 tici test onroad, increase camerad cpu usage
old-commit-hash: 8eaf3d24102265493239f598036966b15590ce22
2021-04-15 11:24:17 +02:00
Willem Melching f4335a7dfe Fix typo in ephemeris parsing (#20677)
* fix typo in ephemeris parsing

* update ref
old-commit-hash: 343fea2bf9f68e78e21f0dc13912e2accb4d958d
2021-04-14 11:25:43 +02:00
mahlzeit1948 8daa2f45c8 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>
old-commit-hash: f6d800a89eede879fbe5637ad4bde5c89327bcfc
2021-04-11 17:18:31 -07:00
Adeeb Shihadeh 998ccacd70 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>
old-commit-hash: 01dc011f9f47d86804f74a0538c6d9a7e63ae24b
2021-04-11 15:56:17 -07:00
HaraldSchafer 3833a80305 MPC retune for laneless fix (#20616)
* was making wrong policy more aggresive

* allow to be set from simulator

* update refs

* put params together
old-commit-hash: 0e10b74a61a8e06e7a27b414b21bfe85be827698
2021-04-08 12:56:47 -07:00
Willem Melching badae8669a More encoder test cleanup (#20623)
* more encode test cleanup

* fix check at end of function
old-commit-hash: c4e2d374c9c15988e92ca00f40863cd4713db9c2
2021-04-08 17:48:57 +02:00
Joost Wooning ff9840c53f 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
old-commit-hash: e6a8157916e9f8365f3f4ac70e49a552e40a8511
2021-04-08 13:09:11 +02:00
Adeeb Shihadeh 99b2c0d024 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
old-commit-hash: 2fa1b2572dfb63e367cfe2868da576090b227ca4
2021-04-07 12:18:58 -07:00
Willem Melching 8f4a445171 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
old-commit-hash: ae094042ade44815fdba50196c15ba552bbf33d7
2021-04-07 15:36:37 +02:00
Willem Melching 23fca1ac82 fix profiler after adding avg freq check
old-commit-hash: 1c824ba2c53c8e47ac2d7dd871e9e5cc86b055b3
2021-04-07 15:10:24 +02:00
HaraldSchafer 1d36adf351 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
old-commit-hash: d72d433ec7a3c9f0bb2f90d196b3826d48d9b1a0
2021-04-06 23:49:29 -07:00
Adeeb Shihadeh 7850141e1a lower min lane change speed to 30mph (#20586)
* lower min lane change speed to 30mph

* update refs
old-commit-hash: 2319d726fbc81d949fc7313c7536a7f5e2e7e8c5
2021-04-05 15:38:53 -07:00
vanillagorillaa cf48fa5b2a Honda Ridgeline test route (#20570)
old-commit-hash: 269d1c4ec77f9dfac2f712107d637a752f4d179f
2021-04-02 21:59:28 -07:00
Adeeb Shihadeh df17f65c61 cleanup car tests (#20562)
* cleanup test_car_models

* don't fail on that
old-commit-hash: 7e632900e5fc6581ead248581e5f90703f851d23
2021-04-01 16:46:08 -07:00
Adeeb Shihadeh 3409287ed4 CI: clear stale build cache
old-commit-hash: 25837cfb86b57f0814da599fdf37cf8bc423a6ce
2021-04-01 15:02:26 -07:00
vanillagorillaa f7ff2df357 Toyota Mirai TSS2.5 Port (#20534)
* Mirai TSS2 initial commmit

* Clean up

* proper formatting of FW versions

* Mirai test route

* Just Mirai
old-commit-hash: 1f968521e4e6af21b2e9e66bb6a7cee8bbd6a0fa
2021-03-31 11:10:15 -07:00
Jason Young 8df4311821 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>
old-commit-hash: 48fa8ffb33dbc49d441519f3d496441a65e8a066
2021-03-30 14:49:46 -07:00
Jason Young 61a562c717 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>
old-commit-hash: e181fd7f0a9654d5d94f148d0378c5ac8be134ca
2021-03-30 13:59:17 -07:00
ZwX1616 42c3b55f00 also use e2e model output for DM policy (#20526)
* neg mining

* clean up format

* eyes less noisy

* update ref
old-commit-hash: 0fb00e10b1ecb2caed5de64e978db7ee2fccd57b
2021-03-29 19:41:27 -07:00
Jason Young 3ea251518c 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
old-commit-hash: 9c0bd99a4d6b2d426b5b90a311d355c7e2a3c63b
2021-03-28 21:04:51 -07:00
Adeeb Shihadeh 53eba80d3d temporarily tolerate higher UI cpu usage in test
old-commit-hash: 08a294199e714387f3f6965641de635946d9baa1
2021-03-26 17:32:59 -07:00
Jason Young c9bc21d358 VW MQB: Škoda Superb Mk3 (#20500)
* Add 2018 Skoda Superb (johndoe)

* Propitiate test_fw_fingerprint unit test
old-commit-hash: 85d0d521bd69f8ba74544940318d2ac916b50d26
2021-03-26 16:42:39 -07:00
Willem Melching 70dc3598a6 Revert "temporarily increase ui cpu allowance"
This reverts commit 6fffc76401638de96993095bb451c9b578a5cb5c.

old-commit-hash: 6e57fb3767ca8a0f5eca5685d83d4e15fbca6efe
2021-03-26 17:29:53 +01:00
Willem Melching 724dabbf07 temporarily increase ui cpu allowance
old-commit-hash: 2b2d868c862bf18a0977ada70961ca636822021f
2021-03-26 17:07:33 +01:00
Jason Young f0bd519ba9 VW MQB: Volkswagen Passat Mk8 (#20493)
* Add VW Passat

* Add Passat legacy FP

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 5da6fced2b87c0737570ffc8408418753fea00c6
2021-03-26 15:03:41 +01:00
Jason Young 7174b2abda Add 2020 Skoda Scala (#20494)
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9ef0eee6b1a8f48f0fc4ccd8dea50a23ceab8046
2021-03-26 15:02:29 +01:00
Jason Young 3718ccc38e VW MQB: SEAT Ateca Mk1 (#20492)
* Add SEAT Ateca

* Add test route for Ateca

* Add Ateca to README

* Pull unnecessary comments
old-commit-hash: 32b59ba114f0e086fa842f0e2dc53a053ad07f7e
2021-03-26 15:01:31 +01:00
Jason Young feb4f777b9 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>
old-commit-hash: c253554b35a937b0783b32b9cfc8028516ebdad3
2021-03-25 23:34:20 -07:00
Jason Young f1649ac036 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..
old-commit-hash: 430951e1cd6fa38840512d17854ecd594bcd207c
2021-03-25 21:48:14 -07:00
Adeeb Shihadeh 51c13aa552 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>
old-commit-hash: e76c80ffa1b6167fd69465c66f31fbe475762330
2021-03-24 14:30:41 -07:00
HaraldSchafer eae1fa481c New KL model + laneless toggle (#20454)
* New model: 0bf38240-6b55-42b0-bcfb-da08ff5cd0b9/650

* laneless baby

* hardcode model difference for now

* kale toggle

* kale emoji

* sensible description

* make clear it is not just for ui

* emojis dont work yet

* 9671a8fe-539f-4a04-a163-54571df21139/650

* new model

* only read param on rising edge of ignition

* update toggle text

* fix that

* update refs

Co-authored-by: mitchell <mitchellgoffpc@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7ee79c99236f749d02a6779b006ee1ab187e0612
2021-03-24 01:10:31 -07:00
Adeeb Shihadeh 5f00564755 auotmatic jenkins setup (#20448)
* auotmatic jenkins setup

* fix quote

* ne wkey
old-commit-hash: 7aade3db43e1a651be0b8af76b214a691ec08884
2021-03-23 17:46:53 -07:00
Adeeb Shihadeh 5cfc42911b Remove lane change toggle and default LDW to off (#20442)
* remove lane change toggle and default LDW to off

* update refs
old-commit-hash: 43ce7165c4eee9af167a650decdb8c3f11195d8d
2021-03-22 20:55:57 -07:00
HaraldSchafer cf6c7cb2b8 Update locationd (#20410)
* this was too extreme

* unused import

* capnp wants bools

* update refs
old-commit-hash: 8bddaa7607e659c1cb247b448684d716257a3158
2021-03-19 17:12:34 -07:00
Willem Melching 5bc8139bc2 profiler: use more recent drive
old-commit-hash: 3258ecedd48c47b0a55e17e5a0782439a86aa5d4
2021-03-18 16:01:48 +01:00
Willem Melching d83fd71751 fixup profiler
old-commit-hash: 65733fd50411cd4bfe6549f3c63f1555c778a232
2021-03-18 15:49:26 +01:00
Willem Melching e3d92dc714 verify safetyParam read back from PandaState (#20384)
* verify safetyParam read back from PandaState

* update ref

* bump panda
old-commit-hash: 3c23226edc2d328c489cc01a0950e6e4748d26a1
2021-03-17 14:20:05 +01:00
HaraldSchafer c07a1ad57b Sane curvature rate limit in plannerd (#20366)
* safety limit

* should be in RADs

* add raw

* update refs
old-commit-hash: 27035131cc97afdf19f682911f580bd689493794
2021-03-16 15:00:03 -07:00
Jason Young 8dfe080fea VW MQB: Updated message and signal data, round 2 (#20298)
* ACC_02 signal naming update

* Add conversion factor now that DBC scaling has changed

* bump opendbc

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1af35c3398904db46d535747746a496b6d5eca52
2021-03-15 15:09:09 -07:00
qadmus 56bc319a29 Add GM steering rate and EPS torque to CarState (#20319)
* Add GM steering rate and EPS torque to CarState

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ad123714ba8a7f4b41eacf141efd957401b0f601
2021-03-12 14:51:20 -08:00
Adeeb Shihadeh 3d04c4060b reduce log spam (#20330)
* fix big spammers

* my favorite test failure

* remove that one

* went down a bit more
old-commit-hash: 90795fc773fb46df4e8e97c19c0d64a449261604
2021-03-12 11:45:29 -08:00
Willem Melching 4bd1929d2b LateralPlanner should only compute curvature (#20289)
* get curvature from planner

* no need to check active

* remove that

* remove self

* liveParams not needed

* cast

* fix test bug

* fixes

* fix ui.py

* fix radians

* update refs

* update refs

* bump cereal

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c23ec9f75389c9ad86400e9a9d23ee6bc5b648a2
2021-03-11 21:08:51 -08:00