Commit Graph

4205 Commits

Author SHA1 Message Date
Adeeb Shihadeh 08bfdb151b add offroad alerts for car unrecognized
old-commit-hash: fb1e8ce086ec5e2dc7b2150b62fdd99368eb7e66
2021-11-16 13:30:33 -08:00
Adeeb Shihadeh 50f00cf617 UI: fix wrong background on controls unresponsive alert
old-commit-hash: 0e35db7c05172b154c70216d2b1b9ed8c9c7b163
2021-11-16 13:17:32 -08:00
Adeeb Shihadeh d1eacc4619 alerts: make soft disables an orange alert (#22925)
old-commit-hash: 833399e9418db26df70169d37c2dff90051d89c7
2021-11-16 13:11:32 -08:00
Dean Lee 23dca7ffae boardd/usb_connect: remove unused variable params (#22931)
old-commit-hash: 10bca095c2cb291f83fdef8c0e0307fe7e1c1c54
2021-11-16 13:06:58 -08:00
Dean Lee dce66df5ef ui: update params on the show event (#22927)
old-commit-hash: 906208504363457172d951ae99b8dac99d3400e1
2021-11-16 12:13:16 -08:00
Willem Melching 6493034aea nav: fix receiving navRoute while map is loading (#22929)
old-commit-hash: 9f423a93cd1c56ab7178dce11f478e2932fe68f5
2021-11-16 14:27:38 +01:00
HaraldSchafer 95d63ee981 tici: limit brightness with display uptime (#22918)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c9218a55f3af82369883af0db90c8b2416a565f7
2021-11-15 22:11:17 -08:00
Adeeb Shihadeh 5247da772d update refs after alert disable
old-commit-hash: f262725705c8cd5bfb46cf5c6e893432e5743cc0
2021-11-15 21:45:18 -08:00
Adeeb Shihadeh 9f84f9ad97 put cruiseMismatch event in logging only mode
old-commit-hash: 33022390138df73199ac626cb7b5ab7fac1a89a6
2021-11-15 21:16:54 -08:00
Adeeb Shihadeh f82e1d42b9 UI: fix alert flicker when controlsState not updated (#22921)
old-commit-hash: 2f90f04f8d1a64c22f4162e9425e80645bd28092
2021-11-15 16:27:19 -08:00
Adeeb Shihadeh ee15159a3b alert cleanup (#22919)
old-commit-hash: 5265c36de7be6a2519488fa4a46462f13918b1fb
2021-11-15 16:14:31 -08:00
Igor Biletskyy 34ad595349 panda.cc: add functions to set can and data speed (#22920)
old-commit-hash: 04e1a25881db89fd186b0a621299093b282dc47b
2021-11-15 16:10:39 -08:00
Adeeb Shihadeh b6974fd2b3 better onroad test output (#22873)
old-commit-hash: ec66573a8b139a680ebdda649596554ccae17364
2021-11-15 16:03:30 -08:00
Robbe Derks bad079992c reset on ignition edge (#22915)
old-commit-hash: 1d03f2a97bb0a95fdc701fed4a03cc061f792c92
2021-11-15 17:52:42 +01:00
Willem Melching 37c7137220 boardd: fix segfault when SIGINT with no pandas (#22914)
* boardd: fix segfault when SIGINT with no pandas

* remove if block

Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
old-commit-hash: 8e12b9ca76bed74bc4cab5a5a363bdc81101ae11
2021-11-15 14:10:08 +01:00
Erich Moraga ba50fb04dc Firmware replace \000 with \x00 (#22911)
old-commit-hash: e42bf919b2734830aaeae12ac73106bbb9e20d65
2021-11-15 10:34:44 +01:00
Erich Moraga cabc1b7dca Add missing HIGHLANDERH_TSS2 engine f/w (#22910)
* Add missing HIGHLANDERH_TSS2 engine f/w

`maximammx#7799`  2022 Highlander Hybrid AWD  DongleID/route  91445f0962323b04|2021-11-14--21-33-29

* Add 2022 Highlander Hybrid
old-commit-hash: cdc53efb9873899729113e95bf4d03f8f336ea9b
2021-11-14 21:49:36 -08:00
Erich Moraga dd19aa7326 Add missing COROLLAH_TSS2 engine f/w (#22909)
old-commit-hash: abb292d66655c5934c437e2cb5b7d4f61db52505
2021-11-14 21:31:10 -08:00
Adeeb Shihadeh e14ef7f9fd add multipanda to loopback tests (#22900)
old-commit-hash: e8598f7455a5f05406cc31cf4ec1daf39fa10264
2021-11-13 17:39:51 -08:00
Adeeb Shihadeh 1896097480 boardd: apply bus offset in can recv
old-commit-hash: 5ffb3e4347d09500a761945bc2a4a5f93f072a6f
2021-11-13 17:11:25 -08:00
Adeeb Shihadeh 35bfdce477 loggerd: trigger rotate on frame id instead of frame count (#22848)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ea761cbbd5103a589915ec3766b4d6056293cba6
2021-11-13 15:38:10 -08:00
Dean Lee 13b3a3583d ui: only check sensorEvents when offroad (#22893)
old-commit-hash: 96e6c343e25b49a9b26462c63cb9975f1f9c8359
2021-11-13 12:06:05 -08:00
Dean Lee e0fa9b7909 framereader: remove deprecated ffmpeg functions (#22895)
old-commit-hash: c0b9c1f3afed048f7ae54d9ffe872e0a41b79968
2021-11-13 11:55:04 -08:00
Dean Lee 3df1ea1433 set pandaType in debug scripts (#22897)
old-commit-hash: 6b20118fec281d88742a6c4b669eaca0bd3aac05
2021-11-13 11:54:29 -08:00
Adeeb Shihadeh a1ab2f7c36 CI: skip cruise mismatch check for can replays
old-commit-hash: db92006dc0b964871c65ca9be88ebdb3b67137ec
2021-11-12 18:22:39 -08:00
Igor Biletskyy 841c20b412 New usb protocol for panda (#22752)
* first try

* move dlc_to_len

* panda switch to mailbox branch

* add bitstruct to pipfile

* bump panda and remove bitstruct

* few cleanups and fixes

* sanity check data.size == dlc_to_len

* check problem with test

* Revert "check problem with test"

This reverts commit b4855b7c12188d36d5d510e729344dab2cf21be9.

* clean

* revert Pipfile.lock

* that was an issue???

* fix crash

* ...

* include dlc_to_len from panda

* alph

* define macros for returned and rejected

* cleanup

* bump panda to current master
old-commit-hash: e293ccf016da3a689149f7f00614678ad249c435
2021-11-12 16:47:26 -08:00
Vivek Aithal 27a6dc0c08 locationd : Acceleration Bias in locationd (#22879)
* add accel bias to filter for offline calculation

* bugfix acc bias in live_kf

* add no_accel obsertvation

* increase initial certainty of acc-bias and reduce PN

* increase initial certainty of acc-bias and reduce PN

* increase accel bias PN

* increase obs noise for no_accel observation

* style fixes

* update refs
old-commit-hash: 534bf697eeb3b72643abc713649ce2eef5f75820
2021-11-12 15:55:16 -08:00
Adeeb Shihadeh c142416931 soundd: configure as persistent process (#22878)
* soundd: configure as persistent process

* update c2 test

* fix that

* little more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed8e6f857ca45a1d814dd9a98ddf5c40c6d08c20
2021-11-12 15:04:57 -08:00
HaraldSchafer d17ec32e0b Give car interface roll and pitch (#22891)
* Give car interface roll and pitch

* fixup

* whitespace
old-commit-hash: a04114f68c118caae5d9b3e19e70e885e87544ff
2021-11-12 12:21:22 -08:00
Adeeb Shihadeh 663a783e5a Nissan: use cleaner Leaf brake pressed signal (#22890)
old-commit-hash: c6ce88e23136dd5d9b2a1372c70f98a51af76aed
2021-11-12 12:18:13 -08:00
Willem Melching 0b8d611b10 ci: run test car models in matrix (#22884)
* Run test car models in matrix

* cache key per job

* actually cache files

* ci

* make files readable

* actually expose variables

* fix quote

* get cache unstuck

* ro cache can use more prefixes

* ci
old-commit-hash: 264c5f4e61952619fb6a5ccdd4774010d5ea8971
2021-11-12 19:50:15 +01:00
Willem Melching bb8d0aa76d Move shutdown/reboot handling to manager (#22882)
* Move shutdown/reboot handling to manager

* more logging

* check enagaged

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 07ff72472636237d7c47addfce4d8bbbda98e9d2
2021-11-12 09:10:34 -08:00
Joost Wooning 9042f18afd cython wrapper for acados (#22784)
* cython wrapper for acados

* fix building

* sconscript cleanup

* no cython numpy

* cleanup

* upgrade build script

* try without slices

* new acados commit

* c3 update acados libs

* c2 libs

* make faster

* undo profiling

* fix build

* somewhat faster

* tryout cost_set_slice

* Revert "tryout cost_set_slice"

This reverts commit d358d93a133270e4edab9e7c07ffb6f577c52bd6.

* cleanup

* undo t_renderer change

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 89d0a52d16872c403c69426ab32e5788a41ee2ec
2021-11-12 17:09:08 +01:00
Willem Melching 1bcba44589 Batch of ECU FW from cars that fuzzy fingerprinted (#22883)
* honda

* hyundai

* toyota

* VW
old-commit-hash: 8a8cee5e544d4df6e5db28198207422d1aa5df6f
2021-11-12 16:31:29 +01:00
Andre Volmensky 1471f71909 Added fingerprint for Japanese 2017 X-Trail (#22881)
old-commit-hash: 293a383d3aca9c546bb5ffba0fc8de6f63933397
2021-11-12 14:02:13 +01:00
Vivek Aithal d49fbbfbed locationd: Set ECEF_POS valid flag to false if in no-gps mode (#22857)
* set ECEF_POS valid flag to false if in no-gps mode

* modify valid flag for all ecef states before gps

* add calibrated valid when no gps

* update refs

* remove extra whitespace

* add invalid flag to all NED values pre gps

* update refs

* update correct refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c7be73b826b21947197f24c6a60fc5a7098e42af
2021-11-11 21:34:17 -08:00
Adeeb Shihadeh 29f6b5cb98 allow update snoozing (#22876)
* allow update snoozing

* not immediately visible

* dismiss and close

* grey button
old-commit-hash: e528e2e3e2760c52266b126a803a0f7bb872cf3d
2021-11-11 15:32:25 -08:00
Adeeb Shihadeh 731d85c522 alerts: use repeating warning2 sound for steerSaturated (#22874)
old-commit-hash: 308219c5b1850da4e947ea587e131df29024a402
2021-11-11 11:55:34 -08:00
Erich Moraga 3ea786d9c5 Add missing HIGHLANDER_TSS2 engine f/w (#22871)
old-commit-hash: 7f4de651e15fe5d5efc39586fa1fbed2de86061f
2021-11-11 11:17:11 -08:00
Willem Melching e8b1e69ac1 remove broken athena test
old-commit-hash: 0e785021815cc573702ac537248bf53d24a7a18e
2021-11-11 17:32:26 +01:00
Willem Melching d5c6e4a205 nav: resend route on ui freeze (#22869)
old-commit-hash: 03195b79e6a2f73d3de97deb03705a522cd36cc5
2021-11-11 17:05:12 +01:00
kernyan 3800496470 ui: auto scaling on resolution below 1920 x 1080 (#22842)
* ui: resizable on PC by mouse drag

* Revert "ui: resizable on PC by mouse drag"

This reverts commit 56aa8254a2ae3f3b8a4b1f5957a51b2258780e97.

* ui: auto scaling on resolution below 1920 x 1080

special case when on PC and screen resolution is exactly 1920 x 1080,
we don't use fixed-sized window to account for taskbar/menubar area

* Update qt_window.cc

set maximum window size

* keep SCALE

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 983cc14174bb11df095e7621bd61fe42fb1ed0d8
2021-11-11 13:25:12 +01:00
sshane 9c994173ed Longcontrol: do not clip vEgo to minSpeedCan (#22832)
* fix tss2 slow reacceleration in sng

(should) preserve stopping behavior

add comments since it's confusing

fix

* Revert "fix tss2 slow reacceleration in sng"

This reverts commit 42abde0eb945d8bc5ad9b502d1d89b3e3dc16f8a.

* don't max(vEgo)

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: bdaea086f8bd5ea079c4ea98abc5a3d48ca08401
2021-11-11 13:24:38 +01:00
Willem Melching 8797c043bd nav: check valid flag on PositionGeodetic measurement (#22858)
old-commit-hash: 306df7f94f2fb57076a5883339d960b79a37b26a
2021-11-11 10:24:10 +01:00
Greg Hogan 15a58247dd profiling: replace pyflame with py-spy (#22864)
* py-spy

* remove pyflame

* find process by name
old-commit-hash: caad4919ac74af8d4dd3aede20d3ba05e5e06c67
2021-11-10 23:27:10 -08:00
Adeeb Shihadeh a142638899 increase engagement alerts duration
old-commit-hash: 327464fb845dd01533f390ac89d9fd78fbfb02d7
2021-11-10 22:11:14 -08:00
Jafar Al-Gharaibeh 29528bdcb0 Mazda: fix occasional main cruise disable (#22807)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: b18661a3a66979d2c12a8bbde109cb7e50f00e1a
2021-11-10 21:25:41 -08:00
Adeeb Shihadeh d6c42f11f4 controlsd: alert on cruise mismatch for >1s (#22841)
* controlsd: alert on cruise mismatch for >1s

* bump cereal

* update refs

* bump allowed soundd cpu

* bump cereal
old-commit-hash: 035bc0c20fd27490cc353a33f3c373201288a10a
2021-11-10 13:01:42 -08:00
Adeeb Shihadeh 448d5f9e93 alerts: use a single duration for sound, text, and HUD (#22856)
* alerts: use a single duration for sound, text, and HUD

* little cleanup

* update refs
old-commit-hash: c5d6b85c9014386b8d1cb2a17f8767abef3afd57
2021-11-10 11:54:12 -08:00
Adeeb Shihadeh 450471058b controlsd: optimize alert management (#22846)
* controlsd: optimize alert management

* little cleanup

* dataclass is nice

* fix tests

* update refs

* sort by start frame

* update refs

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 93ba52c76c20baf36e07c25d28a98bc8e9ea6219
2021-11-10 10:54:18 -08:00